private static class ReturnsSmartNulls.ThrowsSmartNullPointer extends java.lang.Object implements Answer
Modifier and Type | Field and Description |
---|---|
private Location |
location |
private InvocationOnMock |
unstubbedInvocation |
Constructor and Description |
---|
ThrowsSmartNullPointer(InvocationOnMock unstubbedInvocation,
Location location) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
answer(InvocationOnMock currentInvocation) |
private final InvocationOnMock unstubbedInvocation
private final Location location
public ThrowsSmartNullPointer(InvocationOnMock unstubbedInvocation, Location location)
public java.lang.Object answer(InvocationOnMock currentInvocation) throws java.lang.Throwable