Class CatalogBaseTestCase

java.lang.Object
org.apache.commons.chain.impl.CatalogBaseTestCase

public class CatalogBaseTestCase extends Object
Test case for the CatalogBase class.
Version:
$Revision$ $Date$
Author:
Craig R. McClanahan
  • Field Details

  • Constructor Details

  • Method Details

    • init

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

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

      @Test public void testAddCommand()
      Test adding commands
    • testGetCommand

      @Test public void testGetCommand()
      Test getting commands
    • testPristine

      @Test public void testPristine()
      Test pristine instance
    • addCommands

      protected void addCommands()
      Add an interesting set of commands to the catalog
    • checkCommandCount

      protected void checkCommandCount(int expected)
      Verify the number of configured commands
      Parameters:
      expected - the expected value