test.jmock.core
Class FIFOInvocationDispatcherTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bytest.jmock.core.FIFOInvocationDispatcherTest
All Implemented Interfaces:
Test

public class FIFOInvocationDispatcherTest
extends TestCase


Constructor Summary
FIFOInvocationDispatcherTest()
           
 
Method Summary
 void dummyMethod()
           
 void setUp()
           
 void testByDefaultInvokeFailsWhenNoInvokablesMatch()
           
 void testClearRemovesAllInvokables()
           
 void testEarlierInvokablesOverrideLaterInvokables()
           
 void testInvokeFailsWhenEmpty()
           
 void testInvokesDefaultStubWhenNoInvokablesMatch()
           
 void testInvokesInvokableThatMatches()
           
 void testPropagatesExceptionFromInvokable()
           
 void testReturnsValueFromInvokable()
           
 void testSearchesForMatchInFIFOOrder()
           
 void testVerifiesAllInvokables()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FIFOInvocationDispatcherTest

public FIFOInvocationDispatcherTest()
Method Detail

setUp

public void setUp()
           throws NoSuchMethodException
Throws:
NoSuchMethodException

dummyMethod

public void dummyMethod()

testInvokeFailsWhenEmpty

public void testInvokeFailsWhenEmpty()
                              throws Throwable
Throws:
Throwable

testInvokesInvokableThatMatches

public void testInvokesInvokableThatMatches()
                                     throws Throwable
Throws:
Throwable

testReturnsValueFromInvokable

public void testReturnsValueFromInvokable()
                                   throws Throwable
Throws:
Throwable

testPropagatesExceptionFromInvokable

public void testPropagatesExceptionFromInvokable()
                                          throws Throwable
Throws:
Throwable

testByDefaultInvokeFailsWhenNoInvokablesMatch

public void testByDefaultInvokeFailsWhenNoInvokablesMatch()
                                                   throws Throwable
Throws:
Throwable

testEarlierInvokablesOverrideLaterInvokables

public void testEarlierInvokablesOverrideLaterInvokables()
                                                  throws Throwable
Throws:
Throwable

testSearchesForMatchInFIFOOrder

public void testSearchesForMatchInFIFOOrder()
                                     throws Throwable
Throws:
Throwable

testVerifiesAllInvokables

public void testVerifiesAllInvokables()

testClearRemovesAllInvokables

public void testClearRemovesAllInvokables()
                                   throws Throwable
Throws:
Throwable

testInvokesDefaultStubWhenNoInvokablesMatch

public void testInvokesDefaultStubWhenNoInvokablesMatch()
                                                 throws Throwable
Throws:
Throwable