Class TestMessagesExtensions


  • public final class TestMessagesExtensions
    extends java.lang.Object
    The class TestMessagesExtensions generates any messages that are needed in test classes.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String newFailMessage​(java.lang.String expectedVariableName, java.lang.String expected, java.lang.String actual)
      Factory method for create a new fail message for a test as String object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • newFailMessage

        public static java.lang.String newFailMessage​(java.lang.String expectedVariableName,
                                                      java.lang.String expected,
                                                      java.lang.String actual)
        Factory method for create a new fail message for a test as String object.
        Parameters:
        expectedVariableName - the expected variable name
        expected - the expected
        actual - the actual
        Returns:
        the new fail message for a test as String object