Class OfficeFloorRule

    • Constructor Detail

      • OfficeFloorRule

        public OfficeFloorRule()
        Instantiate for no dependency injection of test.
      • OfficeFloorRule

        public OfficeFloorRule​(java.lang.Object testInstance)
        Instantiate to dependency inject into the test instance.
        Parameters:
        testInstance - Test instance.
    • Method Detail

      • doFail

        protected java.lang.Error doFail​(java.lang.Throwable cause)
        Description copied from class: AbstractOfficeFloorJUnit
        Undertake JUnit version specific fail.
        Specified by:
        doFail in class AbstractOfficeFloorJUnit
        Parameters:
        cause - Cause of the failure.
        Returns:
        Error to propagate.
      • apply

        public org.junit.runners.model.Statement apply​(org.junit.runners.model.Statement base,
                                                       org.junit.runner.Description description)
        Specified by:
        apply in interface org.junit.rules.TestRule