Examples for Mockito's Mock Methods

This commit is contained in:
David Morley 2016-05-04 05:45:28 -05:00
parent 94061d757b
commit 174e058cd0
1 changed files with 2 additions and 1 deletions

View File

@ -15,7 +15,8 @@ import org.mockito.invocation.InvocationOnMock;
import org.mockito.stubbing.Answer;
public class MockitoMockTest {
static class CustomAnswer implements Answer<Boolean> {
private static class CustomAnswer implements Answer<Boolean> {
@Override
public Boolean answer(InvocationOnMock invocation) throws Throwable {
return false;