test.jmock.core
Class InvocationMockerTest

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

public class InvocationMockerTest
extends TestCase


Constructor Summary
InvocationMockerTest()
           
 
Method Summary
 void setUp()
           
 void testCanAddMatchers()
           
 void testCanBeNamed()
           
 void testDelegatesInvocationToStubObject()
           
 void testDelegatesRequestForDescriptionDescriberObject()
           
 void testDelegatesVerifyToInvocationMatchers()
           
 void testDoesNotMatchIfAnyMatcherDoesNotMatch()
           
 void testMatchesIfAllMatchersMatch()
           
 void testMatchesInvocationBeforeCallingStub()
           
 
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

InvocationMockerTest

public InvocationMockerTest()
Method Detail

setUp

public void setUp()

testCanAddMatchers

public void testCanAddMatchers()
                        throws Throwable
Throws:
Throwable

testMatchesIfAllMatchersMatch

public void testMatchesIfAllMatchersMatch()

testDoesNotMatchIfAnyMatcherDoesNotMatch

public void testDoesNotMatchIfAnyMatcherDoesNotMatch()

testMatchesInvocationBeforeCallingStub

public void testMatchesInvocationBeforeCallingStub()
                                            throws Throwable
Throws:
Throwable

testDelegatesVerifyToInvocationMatchers

public void testDelegatesVerifyToInvocationMatchers()
                                             throws Throwable
Throws:
Throwable

testDelegatesInvocationToStubObject

public void testDelegatesInvocationToStubObject()
                                         throws Throwable
Throws:
Throwable

testCanBeNamed

public void testCanBeNamed()

testDelegatesRequestForDescriptionDescriberObject

public void testDelegatesRequestForDescriptionDescriberObject()