Class ReturnsSmartNulls.ThrowsSmartNullPointer
- java.lang.Object
-
- org.mockito.internal.stubbing.defaultanswers.ReturnsSmartNulls.ThrowsSmartNullPointer
-
- All Implemented Interfaces:
Answer
- Enclosing class:
- ReturnsSmartNulls
private static class ReturnsSmartNulls.ThrowsSmartNullPointer extends java.lang.Object implements Answer
-
-
Field Summary
Fields Modifier and Type Field Description private Location
location
private InvocationOnMock
unstubbedInvocation
-
Constructor Summary
Constructors Constructor Description ThrowsSmartNullPointer(InvocationOnMock unstubbedInvocation, Location location)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
answer(InvocationOnMock currentInvocation)
-
-
-
Field Detail
-
unstubbedInvocation
private final InvocationOnMock unstubbedInvocation
-
location
private final Location location
-
-
Constructor Detail
-
ThrowsSmartNullPointer
ThrowsSmartNullPointer(InvocationOnMock unstubbedInvocation, Location location)
-
-
Method Detail
-
answer
public java.lang.Object answer(InvocationOnMock currentInvocation) throws java.lang.Throwable
-
-