Searched refs:InvocationListener (Results 1 – 13 of 13) sorted by relevance
11 import org.mockito.listeners.InvocationListener;51 List<InvocationListener> container = new ArrayList<InvocationListener>(); in should_call_listeners_in_order()67 List<InvocationListener> container = new ArrayList<InvocationListener>(); in should_allow_same_listener()99 InvocationListener listener1 = mock(InvocationListener.class, "listener1"); in should_call_all_listener_when_mock_throws_exception()100 InvocationListener listener2 = mock(InvocationListener.class, "listener2"); in should_call_all_listener_when_mock_throws_exception()127 private static class RememberingListener implements InvocationListener {128 private final List<InvocationListener> listenerContainer;133 RememberingListener(List<InvocationListener> listenerContainer) {138 this(new ArrayList<InvocationListener>());
10 import org.mockito.listeners.InvocationListener;25 private final List<InvocationListener> invocationListeners;46 for (InvocationListener listener : invocationListeners) { in notifyMethodCall()56 for (InvocationListener listener : invocationListeners) { in notifyMethodCallException()
9 import org.mockito.listeners.InvocationListener;20 InvocationListener invocationListener = mock(InvocationListener.class); in listener()
22 import org.mockito.listeners.InvocationListener;71 InvocationListener throwingListener = mock(InvocationListener.class); in should_throw_mockito_exception_when_invocation_handler_throws_anything()91 … private MockHandlerImpl<?> create_correctly_stubbed_handler(InvocationListener throwingListener) { in create_correctly_stubbed_handler()108 private MockHandlerImpl<?> create_handler_with_listeners(InvocationListener... listener) { in create_handler_with_listeners()
16 import org.mockito.listeners.InvocationListener;42 @Mock private InvocationListener listener1;43 @Mock private InvocationListener listener2;128 private static class CustomListener implements InvocationListener {
8 import org.mockito.listeners.InvocationListener;32 protected List<InvocationListener> invocationListeners = new ArrayList<InvocationListener>();121 public List<InvocationListener> getInvocationListeners() { in getInvocationListeners()
11 import org.mockito.listeners.InvocationListener;75 List<InvocationListener> getInvocationListeners(); in getInvocationListeners()
12 import org.mockito.listeners.InvocationListener;26 @Mock private InvocationListener invocationListener;118 mockSettingsImpl.invocationListeners((InvocationListener[])null); in shouldNotAllowNullListener()
13 import org.mockito.listeners.InvocationListener;175 public MockSettings invocationListeners(InvocationListener... listeners) { in invocationListeners()202 for (InvocationListener listener : invocationListeners) { in invocationListenersContainsType()211 public List<InvocationListener> getInvocationListeners() { in getInvocationListeners()
10 import org.mockito.listeners.InvocationListener;18 public class VerboseMockInvocationLogger implements InvocationListener {
11 import org.mockito.listeners.InvocationListener;222 MockSettings invocationListeners(InvocationListener... listeners); in invocationListeners()
14 public interface InvocationListener { interface
28 import org.mockito.listeners.InvocationListener;692 …public static MockitoException invocationListenerThrewException(InvocationListener listener, Throw… in invocationListenerThrewException()