ObjectEachKeyMatches
Matches an object where each key matches the provided matcher.
- Typescript
- Java
import { matchers } from '@contract-case/case-definition-dsl'
new matchers.objects.ObjectEachKeyMatches(matcher: any)
Parameters
Name | Type | Description |
---|---|---|
matcher | any | The matcher that all keys must pass. |
import io.contract_testing.contractcase.definitions.matchers.objects.ObjectEachKeyMatches;
new ObjectEachKeyMatches(java.lang.Object matcher);
Parameters
Name | Type | Description |
---|---|---|
matcher | java.lang.Object | The matcher that all keys must pass. |