Package org.testng
Interface IInstanceInfo<T>
-
public interface IInstanceInfo<T>
This class defines a pair of instance/class. A method with @Factory can return an array of these objects instead of Object[] so that instances can be dynamic proxies or mock objects and still provide enough information to TestNG to figure out what classes the annotations should be looked up in.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
getInstance()
java.lang.Class<T>
getInstanceClass()
-