Skip to main content

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").

import { matchers } from '@contract-case/case-definition-dsl'

new matchers.primitives.AnyNull()