Class ShouldNotBeNull

All Implemented Interfaces:
ErrorMessageFactory

public class ShouldNotBeNull extends BasicErrorMessageFactory
Creates an error message that indicates an assertion that verifies that an object is not null failed.
  • Field Details

  • Constructor Details

    • ShouldNotBeNull

      private ShouldNotBeNull()
  • Method Details

    • shouldNotBeNull

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