com.atlassian.pageobjects
Class TestedProductFactory.SingletonTesterFactory<T extends Tester>
java.lang.Object
com.atlassian.pageobjects.TestedProductFactory.SingletonTesterFactory<T>
- Type Parameters:
T - The tester type
- All Implemented Interfaces:
- TestedProductFactory.TesterFactory<T>
- Enclosing class:
- TestedProductFactory
public static class TestedProductFactory.SingletonTesterFactory<T extends Tester>
- extends Object
- implements TestedProductFactory.TesterFactory<T>
A factory that always returns the same Tester
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestedProductFactory.SingletonTesterFactory
public TestedProductFactory.SingletonTesterFactory(T tester)
create
public T create()
- Specified by:
create in interface TestedProductFactory.TesterFactory<T extends Tester>
- Returns:
- The tester instance to be used through the tested product
Copyright © 2014 Atlassian. All rights reserved.