Class ShouldNotBeNull

    • Constructor Detail

      • ShouldNotBeNull

        private ShouldNotBeNull​(java.lang.String label)
    • Method Detail

      • shouldNotBeNull

        public static ErrorMessageFactory shouldNotBeNull()
        Returns the default instance of this class.
        Returns:
        the default instance of this class.
      • shouldNotBeNull

        public static ShouldNotBeNull shouldNotBeNull​(java.lang.String label)
        Create a instance specifying a label
        Parameters:
        label - of what should not be null
        Returns:
        the new instance