Class ExceptionMessageSetTest
java.lang.Object
org.odpi.openmetadata.test.unittest.utilities.ExceptionMessageSetTest
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
testSingleErrorCodeValue
(ExceptionMessageSet testMessageValue, String messageIdPrefix) Validate a single message.
-
Constructor Details
-
ExceptionMessageSetTest
public ExceptionMessageSetTest()
-
-
Method Details
-
testSingleErrorCodeValue
protected void testSingleErrorCodeValue(ExceptionMessageSet testMessageValue, String messageIdPrefix) Validate a single message.- Parameters:
testMessageValue
- single messagemessageIdPrefix
- prefix for message id
-