ArrayStartsWith
Matches an Array which starts with the provided array of matchers - any additional elements in the array are ignored.
- Typescript
- Java
import { matchers } from '@contract-case/case-definition-dsl'
new matchers.arrays.ArrayStartsWith(matchers: any[])
Parameters
Name | Type | Description |
---|---|---|
matchers | any[] | An array of matchers that describes the start of the array. Additional elements in the actual array are ignored. |
import io.contract_testing.contractcase.definitions.matchers.arrays.ArrayStartsWith;
new ArrayStartsWith(java.util.List<java.lang.Object> matchers);
Parameters
Name | Type | Description |
---|---|---|
matchers | java.util.List<java.lang.Object> | An array of matchers that describes the start of the array. Additional elements in the actual array are ignored. |