Class CloseGuardRule

  • All Implemented Interfaces:
    org.junit.rules.TestRule

    public final class CloseGuardRule
    extends org.junit.rules.Verifier
    Rule for failing tests that leave any CloseGuards open.
    • Constructor Detail

      • CloseGuardRule

        public CloseGuardRule()
    • Method Detail

      • verify

        public void verify()
                    throws Throwable
        Overrides:
        verify in class org.junit.rules.Verifier
        Throws:
        Throwable