Class ReturnsSmartNulls.ThrowsSmartNullPointer
java.lang.Object
org.mockito.internal.stubbing.defaultanswers.ReturnsSmartNulls.ThrowsSmartNullPointer
- All Implemented Interfaces:
Answer
- Enclosing class:
ReturnsSmartNulls
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionThrowsSmartNullPointer
(InvocationOnMock unstubbedInvocation, Location location) -
Method Summary
Modifier and TypeMethodDescriptionanswer
(InvocationOnMock currentInvocation) private static boolean
isMethodOf
(Class<?> clazz, Object instance, Method method)
-
Field Details
-
unstubbedInvocation
-
location
-
-
Constructor Details
-
ThrowsSmartNullPointer
ThrowsSmartNullPointer(InvocationOnMock unstubbedInvocation, Location location)
-
-
Method Details