Class MessagesMapTestCase

java.lang.Object
org.apache.struts.faces.util.MessagesMapTestCase

public class MessagesMapTestCase extends Object
Unit tests for MessagesMap.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.apache.struts.faces.util.MessagesMap
    The MessagesMap instance to be tested.
    The MessageResources instance containing the messages used for testing.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Set up instance variables required by this test case.
    void
    Tear down instance variables required by this test case.
    void
    Test the containsKey() method.
    void
    Test the get() method.
    void
    Test a pristine instance, and all unsupported methods.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • map

      protected org.apache.struts.faces.util.MessagesMap map
      The MessagesMap instance to be tested.
    • resources

      protected MessageResources resources
      The MessageResources instance containing the messages used for testing.
  • Constructor Details

    • MessagesMapTestCase

      public MessagesMapTestCase()
  • Method Details

    • setUp

      @BeforeEach public void setUp()
      Set up instance variables required by this test case.
    • tearDown

      @AfterEach public void tearDown()
      Tear down instance variables required by this test case.
    • testContainsKey

      @Test public void testContainsKey()
      Test the containsKey() method.
    • testGet

      @Test public void testGet()
      Test the get() method.
    • testPristine

      @Test public void testPristine()
      Test a pristine instance, and all unsupported methods.