Class VerificationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Error
-
- java.lang.AssertionError
-
- com.github.tomakehurst.wiremock.client.VerificationException
-
- All Implemented Interfaces:
java.io.Serializable
public class VerificationException extends java.lang.AssertionError
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VerificationException(RequestPattern expected, int expectedCount, int actualCount)
VerificationException(RequestPattern expected, CountMatchingStrategy expectedCount, int actualCount)
VerificationException(RequestPattern expected, java.util.List<LoggedRequest> requests)
VerificationException(java.lang.String message)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VerificationException
forSingleUnmatchedRequest(Diff diff)
static VerificationException
forUnmatchedNearMisses(java.util.List<NearMiss> nearMisses)
static VerificationException
forUnmatchedRequestPattern(Diff diff)
static VerificationException
forUnmatchedRequests(java.util.List<LoggedRequest> unmatchedRequests)
-
-
-
Constructor Detail
-
VerificationException
public VerificationException(java.lang.String message)
-
VerificationException
public VerificationException(RequestPattern expected, java.util.List<LoggedRequest> requests)
-
VerificationException
public VerificationException(RequestPattern expected, int expectedCount, int actualCount)
-
VerificationException
public VerificationException(RequestPattern expected, CountMatchingStrategy expectedCount, int actualCount)
-
-
Method Detail
-
forUnmatchedRequestPattern
public static VerificationException forUnmatchedRequestPattern(Diff diff)
-
forSingleUnmatchedRequest
public static VerificationException forSingleUnmatchedRequest(Diff diff)
-
forUnmatchedNearMisses
public static VerificationException forUnmatchedNearMisses(java.util.List<NearMiss> nearMisses)
-
forUnmatchedRequests
public static VerificationException forUnmatchedRequests(java.util.List<LoggedRequest> unmatchedRequests)
-
-