All Classes Interface Summary Class Summary
| Class |
Description |
| And |
Matches all of the provided matchers.
|
| AnyBoolean |
Matches any Boolean.
|
| AnyInteger |
Matches any whole integer number.
|
| AnyInteractionDescriptor |
The base class for all ContractCase Mock Descriptors.
|
| AnyMatcher |
The base class for all Test Equivalence Matchers.
|
| AnyMatcherWithExample |
The base class for all Test Equivalence Matchers that have examples provided.
|
| AnyNull |
Matches null (useful for languages like Java where body: null means no body, but you want to match a eg a json document that has the body "null").
|
| AnyNumber |
|
| AnyState |
The base class for all ContractCase State Descriptors.
|
| AnyString |
Matches any string.
|
| ArrayContains |
Matches an Array which contains elements that match the given matchers - note that two different matchers may be satisfied by the same item in the array.
|
| ArrayEachEntryMatches |
Matches an array where each element matches the provided matcher.
|
| ArrayEachEntryMatchesWithExample |
Matches an array where each element matches the provided matcher, but with a custom example for the whole array.
|
| ArrayLength |
Matches an Array whose length is within the specified range (or 1-infinity if not specified).
|
| ArrayLength.Builder |
|
| ArrayLengthOptions |
Options for the ArrayLength matcher.
|
| ArrayLengthOptions.Builder |
|
| ArrayLengthOptions.Jsii$Proxy |
|
| ArrayStartsWith |
Matches an Array which starts with the provided array of matchers - any additional elements in the array are ignored.
|
| Base64Encoded |
Transformation matcher that matches a base64 encoded version of the given string or string matcher.
|
| BasicAuthHeaderValue |
Matches the value part of a basic auth header with the supplied username and password - useful in conjunction with the StateVariable matcher.
|
| BearerTokenHeaderValue |
Matches the value part of a OIDC or OAuth header with the supplied token - useful in conjunction with the StateVariable matcher.
|
| CascadingContextMatcher |
This is a passthrough matcher that does nothing except call the child matcher with the current actual data.
|
| ChangeLogLevel |
Alters the ContractCase log level below this matcher.
|
| ContractCaseCoreBehaviour |
This type defines the core behaviour that ContractCase has with this mock.
|
| ContractCaseCoreBehaviour.Builder |
|
| ContractCaseCoreBehaviour.Jsii$Proxy |
|
| ContractCaseCoreSetup |
|
| ContractCaseCoreSetup.Builder |
|
| ContractCaseCoreSetup.Jsii$Proxy |
|
| ExactlyLike |
Everything inside this matcher will be matched exactly, unless overridden with a generic matcher (eg AnyString or ShapedLike).
|
| FunctionArguments |
Matches function arguments, for use with a MockFunctionCall / MockFunctionExecution.
|
| FunctionExecutionExample |
Interaction descriptor for a function execution which returns successfully.
|
| FunctionExecutionExample.Builder |
|
| FunctionExecutionExample.Jsii$Proxy |
|
| HttpExample |
|
| HttpExample.Builder |
|
| HttpExample.Jsii$Proxy |
|
| HttpRequest |
Matches any HTTP Request with the provided properties.
|
| HttpRequest.Builder |
|
| HttpRequestExample |
|
| HttpRequestExample.Builder |
|
| HttpRequestExample.Jsii$Proxy |
|
| HttpResponse |
Matches any HTTP Response with the provided properties.
|
| HttpResponse.Builder |
|
| HttpResponseExample |
|
| HttpResponseExample.Builder |
|
| HttpResponseExample.Jsii$Proxy |
|
| HttpStatusCode |
Matches an HTTP status code.
|
| IgnoreThisClass |
Empty class to make jsii-docgen happy with this module.
|
| IgnoreThisClass |
Empty class to make jsii-docgen happy with this module.
|
| InState |
A state descriptor for configuring an example that needs to run in a particular named state.
|
| InStateWithVariables |
A state descriptor for configuring an example that needs to run in a particular named state, and with variables provided by the framework.
|
| NamedMatch |
Saves the matcher below it with a unique name that can be used with lookups in tests after this one.
|
| ObjectEachKeyMatches |
Matches an object where each key matches the provided matcher.
|
| ObjectEachValueMatches |
Matches an object where each value matches the provided matcher.
|
| ReferenceMatch |
Matches a named matcher created with matchers.convenience.NamedMatch.
|
| ShapedLike |
Everything inside this matcher will be matched on the shape of the data (ie, type alone), unless overridden with other matchers.
|
| StateVariable |
Matches the content of a variable that comes from a state.
|
| StringContaining |
Matches any string that contains the given substring.
|
| StringifiedJson |
Transformation matcher that matches a JSON.stringify()ed version of the given object.
|
| StringPrefix |
Matches any string that begins with the given constant string prefix, and ends with a matchable suffix.
|
| StringSuffix |
Matches any string that begins with a matchable prefix, and ends with a constant suffix.
|
| ThrowingFunctionExecutionExample |
Interaction descriptor for a function execution that throws an error.
|
| ThrowingFunctionExecutionExample.Builder |
|
| ThrowingFunctionExecutionExample.Jsii$Proxy |
|
| UriEncodedString |
Convenience matcher to treat the string as a uri encoded string - useful in path segments.
|
| WillCallFunction |
Defines an example that executes a registered function with specific arguments.
|
| WillCallFunction.Builder |
|
| WillCallThrowingFunction |
Defines an interaction that executes a registered function with specific arguments, expecting that function to throw an error.
|
| WillCallThrowingFunction.Builder |
|
| WillReceiveFunctionCall |
Defines an example that expects a function to be called with specific arguments.
|
| WillReceiveFunctionCall.Builder |
|
| WillReceiveFunctionCallAndThrow |
Defines an example that expects a function to be called with specific arguments.
|
| WillReceiveFunctionCallAndThrow.Builder |
|
| WillReceiveHttpRequest |
Defines an example that expects to receive an HTTP request.
|
| WillReceiveHttpRequest.Builder |
|
| WillSendHttpRequest |
Defines an example that expects to send an HTTP request.
|
| WillSendHttpRequest.Builder |
|
| WithExample |
Adds an example to the provided matcher.
|