Class ExceptionMessageSetTest

java.lang.Object
org.odpi.openmetadata.test.unittest.utilities.ExceptionMessageSetTest

public abstract class ExceptionMessageSetTest extends Object
ExceptionMessageSetTest is a base class for unit test cases that are validating exception message sets. It contains utilities the validate the message set enum contains unique message ids, non-null names and descriptions and can be serialized to JSON and back again.
  • Constructor Details

    • ExceptionMessageSetTest

      public ExceptionMessageSetTest()
  • Method Details

    • testSingleErrorCodeValue

      protected void testSingleErrorCodeValue(ExceptionMessageSet testMessageValue, String messageIdPrefix)
      Validate a single message.
      Parameters:
      testMessageValue - single message
      messageIdPrefix - prefix for message id