Class DispatchLookupCommandTestCase

java.lang.Object
org.apache.commons.chain.generic.DispatchLookupCommandTestCase

Test case for the DispatchLookupCommand class.
Version:
$Revision$
Author:
Sean Schofield
  • 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.
    • testExecuteDispatchLookup_1a

      @Test public void testExecuteDispatchLookup_1a()
      Test ability to lookup and execute a dispatch method on a single non-delegating command
    • testExecuteDispatchLookup_2

      @Test public void testExecuteDispatchLookup_2()
      Test IllegalArgumentException when incorrect command name specified
    • testExecuteDispatchLookup_3

      @Test public void testExecuteDispatchLookup_3()
      Test ability to lookup and execute a dispatch method on a single non-delegating command (using context to specify method name)
    • checkExecuteLog

      protected void checkExecuteLog(String expected)
      Verify the contents of the execution log
      Parameters:
      expected - the expected value