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"
).
- Typescript
- Java
import { matchers } from '@contract-case/case-definition-dsl'
new matchers.primitives.AnyNull()
import io.contract_testing.contractcase.definitions.matchers.primitives.AnyNull;
new AnyNull();