Class TestInjectionTestRule

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

    public class TestInjectionTestRule
    extends Object
    implements org.junit.rules.TestRule
    Injects members of page object context into the test
    Since:
    5.10
    • Constructor Detail

      • TestInjectionTestRule

        public TestInjectionTestRule​(@NotNull
                                     @NotNull Object injectionTarget,
                                     @NotNull
                                     @NotNull BambooTestedProduct product)
    • Method Detail

      • 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