test.jmock.core.matcher
Class InvokeOnceMatcherTest

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

public class InvokeOnceMatcherTest
extends TestCase


Constructor Summary
InvokeOnceMatcherTest()
           
 
Method Summary
 void setUp()
           
 void testReportsWhetherCalledInDescription()
           
 void testVerifyFailsIfNotYetInvoked()
           
 void testVerifyPassesAfterInvocation()
           
 void testWillMatchIfNotYetInvoked()
           
 void testWillNotMatchAfterInvocation()
           
 void testWritesDescriptionOfMatch()
           
 
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

InvokeOnceMatcherTest

public InvokeOnceMatcherTest()
Method Detail

setUp

public void setUp()

testWillMatchIfNotYetInvoked

public void testWillMatchIfNotYetInvoked()

testVerifyFailsIfNotYetInvoked

public void testVerifyFailsIfNotYetInvoked()

testWillNotMatchAfterInvocation

public void testWillNotMatchAfterInvocation()

testVerifyPassesAfterInvocation

public void testVerifyPassesAfterInvocation()

testWritesDescriptionOfMatch

public void testWritesDescriptionOfMatch()

testReportsWhetherCalledInDescription

public void testReportsWhetherCalledInDescription()