public final class Util
extends Object
-
Method Summary
newMock(Class<?> type,
org.mockito.MockSettings mockSettings)
newMock(Class<?> type,
org.mockito.stubbing.Answer<?> defaultAnswer)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
newMock
@Nullable
public static @Nullable Object newMock(Class<?> type)
-
newMock
@Nullable
public static @Nullable Object newMock(Class<?> type,
org.mockito.stubbing.Answer<?> defaultAnswer)
-
newMock
@Nullable
public static @Nullable Object newMock(Class<?> type,
org.mockito.MockSettings mockSettings)