Package org.testng
Interface IObjectFactory2
-
- All Superinterfaces:
ITestObjectFactory
public interface IObjectFactory2 extends ITestObjectFactory
Factory used to create all test instances. This object factory only receives the class in parameter.- Since:
- 5.14.6
- See Also:
IObjectFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
newInstance(java.lang.Class<?> cls)
-