Class CountMatchingStrategy
- java.lang.Object
-
- com.github.tomakehurst.wiremock.client.CountMatchingStrategy
-
public class CountMatchingStrategy extends java.lang.Object
Matches the number of requests made using relational predicates.
-
-
Field Summary
Fields Modifier and Type Field Description static CountMatchingMode
EQUAL_TO
static CountMatchingMode
GREATER_THAN
static CountMatchingMode
GREATER_THAN_OR_EQUAL
static CountMatchingMode
LESS_THAN
static CountMatchingMode
LESS_THAN_OR_EQUAL
-
Constructor Summary
Constructors Constructor Description CountMatchingStrategy(CountMatchingMode mode, int expected)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
match(int actual)
java.lang.String
toString()
-
-
-
Field Detail
-
LESS_THAN
public static final CountMatchingMode LESS_THAN
-
LESS_THAN_OR_EQUAL
public static final CountMatchingMode LESS_THAN_OR_EQUAL
-
EQUAL_TO
public static final CountMatchingMode EQUAL_TO
-
GREATER_THAN_OR_EQUAL
public static final CountMatchingMode GREATER_THAN_OR_EQUAL
-
GREATER_THAN
public static final CountMatchingMode GREATER_THAN
-
-
Constructor Detail
-
CountMatchingStrategy
public CountMatchingStrategy(CountMatchingMode mode, int expected)
-
-