test.jmock.core.matcher
Class TestFailureMatcherTest

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

public class TestFailureMatcherTest
extends TestCase


Constructor Summary
TestFailureMatcherTest()
           
 
Method Summary
 void setUp()
           
 void testAlwaysMatches()
           
 void testAlwaysVerifies()
           
 void testThrowsAssertionFailedErrorWhenInvoked()
           
 void testUsesErrorMessageAsDescription()
           
 
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

TestFailureMatcherTest

public TestFailureMatcherTest()
Method Detail

setUp

public void setUp()

testAlwaysMatches

public void testAlwaysMatches()

testAlwaysVerifies

public void testAlwaysVerifies()
                        throws Throwable
Throws:
Throwable

testThrowsAssertionFailedErrorWhenInvoked

public void testThrowsAssertionFailedErrorWhenInvoked()
                                               throws Throwable
Throws:
Throwable

testUsesErrorMessageAsDescription

public void testUsesErrorMessageAsDescription()