Modifier and Type | Method and Description |
---|---|
MockServerClient |
MockServerClient.clear(ExpectationId expectationId)
Clear all expectations and logs that match the expectation id
|
MockServerClient |
MockServerClient.clear(ExpectationId expectationId,
ClearType type)
Clear expectations, logs or both that match the expectation id
|
MockServerClient |
MockServerClient.verify(ExpectationId... expectationIds)
Verify a list of requests have been sent in the order specified for example:
|
MockServerClient |
MockServerClient.verify(ExpectationId expectationId,
VerificationTimes times)
Verify a request has been sent for example:
|
MockServerClient |
MockServerClient.verify(ExpectationId expectationId,
VerificationTimes times,
Integer maximumNumberOfRequestToReturnInVerificationFailure)
Verify a request has been sent for example:
|
MockServerClient |
MockServerClient.verify(Integer maximumNumberOfRequestToReturnInVerificationFailure,
ExpectationId... expectationIds)
Verify a list of requests have been sent in the order specified for example:
|
Modifier and Type | Method and Description |
---|---|
void |
MockServerEventLog.retrieveRequests(ExpectationId expectationId,
Consumer<List<RequestDefinition>> listConsumer) |
Modifier and Type | Method and Description |
---|---|
boolean |
RequestAndExpectationId.matches(ExpectationId expectationId) |
Modifier and Type | Method and Description |
---|---|
void |
RequestMatchers.clear(ExpectationId expectationId,
String logCorrelationId) |
Modifier and Type | Method and Description |
---|---|
Stream<RequestDefinition> |
RequestMatchers.retrieveRequestDefinitions(List<ExpectationId> expectationIds) |
Modifier and Type | Method and Description |
---|---|
static ExpectationId |
ExpectationId.expectationId(String id) |
ExpectationId |
ExpectationId.withId(String id) |
Modifier and Type | Method and Description |
---|---|
ExpectationId |
ExpectationIdSerializer.deserialize(String jsonExpectationId) |
ExpectationId[] |
ExpectationIdSerializer.deserializeArray(String jsonExpectationIds) |
Modifier and Type | Method and Description |
---|---|
Class<ExpectationId> |
ExpectationIdSerializer.supportsType() |
Modifier and Type | Method and Description |
---|---|
String |
ExpectationIdSerializer.serialize(boolean prettyPrint,
ExpectationId... expectationIds) |
String |
ExpectationIdSerializer.serialize(ExpectationId... expectationIds) |
String |
ExpectationIdSerializer.serialize(ExpectationId expectationId) |
Modifier and Type | Method and Description |
---|---|
String |
ExpectationIdSerializer.serialize(boolean prettyPrint,
List<? extends ExpectationId> expectationIds) |
String |
ExpectationIdSerializer.serialize(List<? extends ExpectationId> expectationIds) |
Modifier and Type | Method and Description |
---|---|
ExpectationId |
VerificationDTO.getExpectationId() |
Modifier and Type | Method and Description |
---|---|
List<ExpectationId> |
VerificationSequenceDTO.getExpectationIds() |
Modifier and Type | Method and Description |
---|---|
VerificationDTO |
VerificationDTO.setExpectationId(ExpectationId expectationId) |
Modifier and Type | Method and Description |
---|---|
VerificationSequenceDTO |
VerificationSequenceDTO.setExpectationIds(List<ExpectationId> expectationIds) |
Modifier and Type | Method and Description |
---|---|
ExpectationId |
Verification.getExpectationId() |
Modifier and Type | Method and Description |
---|---|
List<ExpectationId> |
VerificationSequence.getExpectationIds() |
Modifier and Type | Method and Description |
---|---|
Verification |
Verification.withExpectationId(ExpectationId expectationId) |
VerificationSequence |
VerificationSequence.withExpectationIds(ExpectationId... expectationIds) |
Modifier and Type | Method and Description |
---|---|
VerificationSequence |
VerificationSequence.withExpectationIds(List<ExpectationId> expectationIds) |
Copyright © 2022. All rights reserved.