Interface DoesNotPermitNulls
- All Superinterfaces:
CollectionContractConfig
A decorator interface that indicates that the collection class being tested does not permit
null
elements.- Since:
- 1.0
- Author:
- evanbergstrom
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
Determines if the collection being tested allows nulls.Methods inherited from interface org.soliscode.test.contract.CollectionContractConfig
permitDuplicates, permitIncompatibleTypes
-
Method Details
-
permitNulls
default boolean permitNulls()Determines if the collection being tested allows nulls.- Specified by:
permitNulls
in interfaceCollectionContractConfig
- Returns:
false
-