package org.testng;
This interface captures a test method along with all the instances it should
be run on.
/**
* This interface captures a test method along with all the instances it should
* be run on.
*/
public interface IMethodInstance {
ITestNGMethod getMethod();
Deprecated: Use getInstance()
/**
* @deprecated Use getInstance()
*/
@Deprecated
Object[] getInstances();
Object getInstance();
}