org.objenesis.instantiator.ObjectInstantiator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mockito-all Show documentation
Show all versions of mockito-all Show documentation
Mock objects library for java
package org.objenesis.instantiator;
/**
* Instantiates a new object.
*/
public interface ObjectInstantiator {
/**
* Returns a new instance of an object. The returned object's class is defined by the
* implementation.
*
* @return A new instance of an object.
*/
Object newInstance();
}