FunctionArguments
Matches function arguments, for use with a MockFunctionCall / MockFunctionExecution.
Usually you don't need to use this matcher directly, the mock creates it for you.
- Typescript
- Java
import { matchers } from '@contract-case/case-definition-dsl'
new matchers.functions.FunctionArguments(expectedArguments: any[])
Parameters
Name | Type | Description |
---|---|---|
expectedArguments | any[] | an array where each entry will be matched against the arguments. |
import io.contract_testing.contractcase.definitions.matchers.functions.FunctionArguments;
new FunctionArguments(java.util.List<java.lang.Object> expectedArguments);
Parameters
Name | Type | Description |
---|---|---|
expectedArguments | java.util.List<java.lang.Object> | an array where each entry will be matched against the arguments. |