public class MockServerMatcher extends MockServerMatcherNotifier
MockServerMatcherNotifier.Cause
Constructor and Description |
---|
MockServerMatcher(MockServerLogger mockServerLogger,
Scheduler scheduler,
WebSocketClientRegistry webSocketClientRegistry) |
Modifier and Type | Method and Description |
---|---|
void |
add(Expectation expectation,
MockServerMatcherNotifier.Cause cause) |
void |
clear(HttpRequest httpRequest) |
Expectation |
firstMatchingExpectation(HttpRequest httpRequest) |
boolean |
isEmpty() |
void |
reset() |
void |
reset(MockServerMatcherNotifier.Cause cause) |
List<Expectation> |
retrieveActiveExpectations(HttpRequest httpRequest) |
void |
update(Expectation[] expectations,
MockServerMatcherNotifier.Cause cause) |
notifyListeners, registerListener, unregisterListener
equals, fieldsExcludedFromEqualsAndHashCode, hashCode, toString
public MockServerMatcher(MockServerLogger mockServerLogger, Scheduler scheduler, WebSocketClientRegistry webSocketClientRegistry)
public void add(Expectation expectation, MockServerMatcherNotifier.Cause cause)
public void update(Expectation[] expectations, MockServerMatcherNotifier.Cause cause)
public void reset(MockServerMatcherNotifier.Cause cause)
public void reset()
public Expectation firstMatchingExpectation(HttpRequest httpRequest)
public void clear(HttpRequest httpRequest)
public List<Expectation> retrieveActiveExpectations(HttpRequest httpRequest)
public boolean isEmpty()
Copyright © 2020. All rights reserved.