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 Summary
Constructors Constructor Description ExceptionMessageSetTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidtestSingleErrorCodeValue(ExceptionMessageSet testMessageValue, String messageIdPrefix)Validate a single message.
-
-
-
Method Detail
-
testSingleErrorCodeValue
protected void testSingleErrorCodeValue(ExceptionMessageSet testMessageValue, String messageIdPrefix)
Validate a single message.- Parameters:
testMessageValue- single messagemessageIdPrefix- prefix for message id
-
-