public class PowerMockObjectFactory extends Object implements org.testng.IObjectFactory
PrepareForTest or SuppressStaticInitializationFor the PowerMock classloader will enable the class
for PowerMock testing, otherwise a standard ObjectFactory is used.| Constructor and Description |
|---|
PowerMockObjectFactory() |
| Modifier and Type | Method and Description |
|---|---|
Object |
newInstance(Constructor constructor,
Object... params) |
public Object newInstance(Constructor constructor, Object... params)
newInstance in interface org.testng.IObjectFactoryCopyright © 2007–2016. All rights reserved.