Test a Map to be not empty.
Invert the following validators.
Test a Map to be deeply equal to the provided Map.
Expected Map to match.
Test a Map to include any of the provided keys. The keys are tested by identity, not structure.
The keys that could be a key in the Map.
Test a Map to include any of the provided values. The values are tested by identity, not structure.
The values that could be a value in the Map.
Test a Map to include all the provided keys. The keys are tested by identity, not structure.
The keys that should be a key in the Map.
Test a Map to include all the provided values. The values are tested by identity, not structure.
The values that should be a value in the Map.
Test if the value matches a custom validation function. The validation function should return true
if the value
passes the function. If the function either returns false
or a string, the function fails and the string will be
used as error message.
Validation function.
Test all the keys in the Map to match the provided predicate.
The predicate that should be applied against every key in the Map.
Test an Map to have a maximum size.
The maximum size of the Map.
Test an Map to have a minimum size.
The minimum size of the Map.
Test a Map to have a specific size.
The size of the Map.
Test all the values in the Map to match the provided predicate.
The predicate that should be applied against every value in the Map.
Test a Map to be empty.