public class MockServerEventLog extends MockServerEventLogNotifier
Constructor and Description |
---|
MockServerEventLog(MockServerLogger logFormatter,
Scheduler scheduler) |
Modifier and Type | Method and Description |
---|---|
void |
add(LogEntry logEntry) |
void |
clear(HttpRequest httpRequest) |
void |
reset() |
List<Expectation> |
retrieveExpectations(HttpRequest httpRequest) |
List<MessageLogEntry> |
retrieveMessageLogEntries(HttpRequest httpRequest) |
List<MessageLogEntry> |
retrieveMessages(HttpRequest httpRequest) |
List<LogEntry> |
retrieveRequestLogEntries(HttpRequest httpRequest) |
List<HttpRequest> |
retrieveRequests(HttpRequest httpRequest) |
String |
verify(Verification verification) |
String |
verify(VerificationSequence verificationSequence) |
notifyListeners, registerListener
equals, fieldsExcludedFromEqualsAndHashCode, hashCode, key, toString
public MockServerEventLog(MockServerLogger logFormatter, Scheduler scheduler)
public void add(LogEntry logEntry)
public void reset()
public void clear(HttpRequest httpRequest)
public List<LogEntry> retrieveRequestLogEntries(HttpRequest httpRequest)
public List<MessageLogEntry> retrieveMessageLogEntries(HttpRequest httpRequest)
public List<MessageLogEntry> retrieveMessages(HttpRequest httpRequest)
public List<HttpRequest> retrieveRequests(HttpRequest httpRequest)
public List<Expectation> retrieveExpectations(HttpRequest httpRequest)
public String verify(Verification verification)
public String verify(VerificationSequence verificationSequence)
Copyright © 2018. All rights reserved.