public class MockServerMatcher extends ObjectWithReflectiveEqualsHashCodeToString
Modifier and Type | Field and Description |
---|---|
protected List<Expectation> |
expectations |
logger
Constructor and Description |
---|
MockServerMatcher() |
Modifier and Type | Method and Description |
---|---|
void |
add(Expectation expectation) |
void |
clear(HttpRequest httpRequest) |
Expectation |
firstMatchingExpectation(HttpRequest httpRequest) |
void |
reset() |
List<Expectation> |
retrieveExpectations(HttpRequest httpRequest) |
addFieldsExcludedFromEqualsAndHashCode, equals, fieldsExcludedFromEqualsAndHashCode, hashCode, toString
protected final List<Expectation> expectations
public void add(Expectation expectation)
public Expectation firstMatchingExpectation(HttpRequest httpRequest)
public void clear(HttpRequest httpRequest)
public void reset()
public List<Expectation> retrieveExpectations(HttpRequest httpRequest)
Copyright © 2018. All rights reserved.