diff --git a/mockito/src/test/java/org/baeldung/mockito/MockitoMockTest.java b/mockito/src/test/java/org/baeldung/mockito/MockitoMockTest.java index 24f1f991de..5a1996fa97 100644 --- a/mockito/src/test/java/org/baeldung/mockito/MockitoMockTest.java +++ b/mockito/src/test/java/org/baeldung/mockito/MockitoMockTest.java @@ -15,7 +15,8 @@ import org.mockito.invocation.InvocationOnMock; import org.mockito.stubbing.Answer; public class MockitoMockTest { - static class CustomAnswer implements Answer { + + private static class CustomAnswer implements Answer { @Override public Boolean answer(InvocationOnMock invocation) throws Throwable { return false;