Searched refs:InvocationListener (Results 1 – 13 of 13) sorted by relevance
11 import org.mockito.listeners.InvocationListener;60 InvocationListener listener1 = mock(InvocationListener.class, "listener1"); in should_call_all_listener_when_mock_throws_exception()61 InvocationListener listener2 = mock(InvocationListener.class, "listener2"); in should_call_all_listener_when_mock_throws_exception()88 private static class RememberingListener implements InvocationListener {
14 import org.mockito.listeners.InvocationListener;26 private final List<InvocationListener> invocationListeners;47 for (InvocationListener listener : invocationListeners) { in notifyMethodCall()57 for (InvocationListener listener : invocationListeners) { in notifyMethodCallException()
9 import org.mockito.listeners.InvocationListener;20 InvocationListener invocationListener = mock(InvocationListener.class); in listener()
14 import org.mockito.listeners.InvocationListener;127 public MockSettings invocationListeners(InvocationListener... listeners) { in invocationListeners()131 for (InvocationListener listener : listeners) { in invocationListeners()141 for (InvocationListener listener : invocationListeners) { in invocationListenersContainsType()149 public List<InvocationListener> getInvocationListeners() { in getInvocationListeners()
23 import org.mockito.listeners.InvocationListener;73 InvocationListener throwingListener = mock(InvocationListener.class); in should_throw_mockito_exception_when_invocation_handler_throws_anything()93 … private MockHandlerImpl<?> create_correctly_stubbed_handler(InvocationListener throwingListener) { in create_correctly_stubbed_handler()110 private MockHandlerImpl<?> create_handler_with_listeners(InvocationListener... listener) { in create_handler_with_listeners()
16 import org.mockito.listeners.InvocationListener;43 @Mock private InvocationListener listener1;44 @Mock private InvocationListener listener2;131 private static class CustomListener implements InvocationListener {
7 import org.mockito.listeners.InvocationListener;30 protected List<InvocationListener> invocationListeners = new ArrayList<InvocationListener>();105 public List<InvocationListener> getInvocationListeners() { in getInvocationListeners()
9 import org.mockito.listeners.InvocationListener;65 List<InvocationListener> getInvocationListeners(); in getInvocationListeners()
7 import org.mockito.listeners.InvocationListener;217 MockSettings invocationListeners(InvocationListener... listeners); in invocationListeners()
12 import org.mockito.listeners.InvocationListener;26 @Mock private InvocationListener invocationListener;118 mockSettingsImpl.invocationListeners((InvocationListener[])null); in shouldNotAllowNullListener()
10 import org.mockito.listeners.InvocationListener;18 public class VerboseMockInvocationLogger implements InvocationListener {
14 public interface InvocationListener { interface
21 import org.mockito.listeners.InvocationListener;673 …public static MockitoException invocationListenerThrewException(InvocationListener listener, Throw… in invocationListenerThrewException()