com.atlassian.webdriver.testing.runner
Class TestProductContextRunner.MockTestedProductThatIsInjectionContext
java.lang.Object
com.atlassian.webdriver.testing.runner.TestProductContextRunner.MockTestedProductThatIsInjectionContext
- All Implemented Interfaces:
- InjectionContext, TestedProduct<Tester>
- Enclosing class:
- TestProductContextRunner
public static class TestProductContextRunner.MockTestedProductThatIsInjectionContext
- extends Object
- implements TestedProduct<Tester>, InjectionContext
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
injectedClass
public Class<?> injectedClass
injectedInstance
public Object injectedInstance
TestProductContextRunner.MockTestedProductThatIsInjectionContext
public TestProductContextRunner.MockTestedProductThatIsInjectionContext(TestedProductFactory.TesterFactory<?> testerFactory,
ProductInstance productInstance)
visit
public <P extends Page> P visit(Class<P> pageClass,
Object... args)
- Specified by:
visit in interface TestedProduct<Tester>
getPageBinder
public PageBinder getPageBinder()
- Specified by:
getPageBinder in interface TestedProduct<Tester>
getProductInstance
public ProductInstance getProductInstance()
- Specified by:
getProductInstance in interface TestedProduct<Tester>
getTester
public Tester getTester()
- Specified by:
getTester in interface TestedProduct<Tester>
getInstance
@Nonnull
public <T> T getInstance(@Nonnull
Class<T> type)
- Specified by:
getInstance in interface InjectionContext
injectStatic
public void injectStatic(@Nonnull
Class<?> targetClass)
- Specified by:
injectStatic in interface InjectionContext
injectMembers
public void injectMembers(@Nonnull
Object targetInstance)
- Specified by:
injectMembers in interface InjectionContext
Copyright © 2014 Atlassian. All rights reserved.