Class PageObjectInjectionTestRule

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

    public class PageObjectInjectionTestRule
    extends Object
    implements org.junit.rules.TestRule
    Injects page objects into tests.
    Since:
    5.10
    • Constructor Detail

      • PageObjectInjectionTestRule

        public PageObjectInjectionTestRule​(@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