Class Constructors
java.lang.Object
org.mockito.internal.util.reflection.Constructors
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Constructor<?>
noArgConstructorOf
(Class<?> classToMock) Returns the no arg constructor of the type if any.
-
Constructor Details
-
Constructors
public Constructors()
-
-
Method Details
-
noArgConstructorOf
Returns the no arg constructor of the type if any.- Parameters:
classToMock
- The type to look for a no-arg constructor- Returns:
- The no-arg constructor or null if none is declared.
-