org.mockito.internal.creation.instance.Instantiator Maven / Gradle / Ivy
package org.mockito.internal.creation.instance;
/**
* Provides instances of classes.
*/
public interface Instantiator {
/**
* Creates instance of given class
*/
T newInstance(Class cls) throws InstantationException;
}