Class 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 Detail

      • ExceptionMessageSetTest

        public ExceptionMessageSetTest()
    • Method Detail

      • testSingleErrorCodeValue

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