test.jmock.core.matcher
Class InvokeAtLeastOnceMatcherTest

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

public class InvokeAtLeastOnceMatcherTest
extends TestCase


Constructor Summary
InvokeAtLeastOnceMatcherTest()
           
 
Method Summary
 void setUp()
           
 void testAlwaysMatches()
           
 void testReportsWhetherInvokedInDescription()
           
 void testVerifyFailsIfNotYetInvoked()
           
 void testVerifyPassesAfterInvocation()
           
 void testVerifyPassesAfterMultipleInvocations()
           
 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

InvokeAtLeastOnceMatcherTest

public InvokeAtLeastOnceMatcherTest()
Method Detail

setUp

public void setUp()

testAlwaysMatches

public void testAlwaysMatches()

testVerifyFailsIfNotYetInvoked

public void testVerifyFailsIfNotYetInvoked()

testVerifyPassesAfterInvocation

public void testVerifyPassesAfterInvocation()

testVerifyPassesAfterMultipleInvocations

public void testVerifyPassesAfterMultipleInvocations()

testWritesDescriptionOfMatch

public void testWritesDescriptionOfMatch()

testReportsWhetherInvokedInDescription

public void testReportsWhetherInvokedInDescription()