beNull
.beNull()
Asserts that the value is null.
Asserts that a value is null (for nullable types like pointers, delegates, classes).
Modifiers
This assertion supports the following modifiers:
.not- Negates the assertion.to- Language chain (no effect).be- Language chain (no effect)