Interface DoesNotPermitNulls

All Superinterfaces:
CollectionContractConfig

public interface DoesNotPermitNulls extends CollectionContractConfig
A decorator interface that indicates that the collection class being tested does not permit null elements.
Since:
1.0
Author:
evanbergstrom
  • Method Details

    • permitNulls

      default boolean permitNulls()
      Determines if the collection being tested allows nulls.
      Specified by:
      permitNulls in interface CollectionContractConfig
      Returns:
      false