public abstract class Constructors extends Object
Constructor and Description |
---|
Constructors() |
Modifier and Type | Method and Description |
---|---|
static Constructor<?> |
noArgConstructorOf(Class<?> classToMock)
Returns the no arg constructor of the type if any.
|
public static Constructor<?> noArgConstructorOf(Class<?> classToMock)
classToMock
- The type to look for a no-arg constructor