Class LookupCommandTestCase

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

public class LookupCommandTestCase extends Object
Test case for the LookupCommand 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.
    • testExecuteMethodLookup_1a

      @Test public void testExecuteMethodLookup_1a()
      Test ability to lookup and execute single non-delegating command
    • testExecuteMethodLookup_1b

      @Test public void testExecuteMethodLookup_1b()
      Test ability to lookup and execute a chain
    • testExecuteMethodLookup_2a

      @Test public void testExecuteMethodLookup_2a()
      Test ability to lookup and execute single non-delegating command using the context
    • testExecuteMethodLookup_2b

      @Test public void testExecuteMethodLookup_2b()
      Test ability to lookup and execute a chain using the context
    • testExecuteMethodLookup_3a

      @Test public void testExecuteMethodLookup_3a()
      Test ability to lookup and execute single non-delegating command, ignoring its result
    • checkExecuteLog

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