Test a Set to be not empty.
Invert the following validators.
Test a Set to be deeply equal to the provided Set.
Expected Set to match.
Test a Set to include all the provided items. The items are tested by identity, not structure.
The items that should be a item in the Set.
Test a Set to include any of the provided items. The items are tested by identity, not structure.
The items that could be a item in the Set.
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 an Set to have a maximum size.
The maximum size of the Set.
Test an Size to have a minimum size.
The minimum size of the Set.
Test all the items in the Set to match the provided predicate.
The predicate that should be applied against every item in the Set.
Test a Set to have a specific size.
The size of the Set.
Test a Set to be empty.