protected static class DefaultRequestExpectation.RequestCount
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private ExpectedCount |
expectedCount |
private int |
matchedRequestCount |
Constructor and Description |
---|
RequestCount(ExpectedCount expectedCount) |
Modifier and Type | Method and Description |
---|---|
ExpectedCount |
getExpectedCount() |
int |
getMatchedRequestCount() |
boolean |
hasRemainingCount() |
void |
incrementAndValidate() |
boolean |
isSatisfied() |
private final ExpectedCount expectedCount
private int matchedRequestCount
public RequestCount(ExpectedCount expectedCount)
public ExpectedCount getExpectedCount()
public int getMatchedRequestCount()
public void incrementAndValidate()
public boolean hasRemainingCount()
public boolean isSatisfied()