test.jmock.core.matcher
Class ArgumentsMatcherTest

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

public class ArgumentsMatcherTest
extends TestCase


Constructor Summary
ArgumentsMatcherTest()
           
 
Method Summary
 void setUp()
           
 void testArgumentsMatchWhenAllArgumentsMatch()
           
 void testClonesConstraintListDuringConstructor()
           
 void testMatchWhenNoArgumentsOrConstraints()
           
 void testNoMatchWhenAnyArgumentDoesNotConform()
           
 void testNoMatchWhenTooFewArguments()
           
 void testNoMatchWhenTooManyArguments()
           
 
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

ArgumentsMatcherTest

public ArgumentsMatcherTest()
Method Detail

setUp

public void setUp()

testMatchWhenNoArgumentsOrConstraints

public void testMatchWhenNoArgumentsOrConstraints()
                                           throws Throwable
Throws:
Throwable

testNoMatchWhenTooManyArguments

public void testNoMatchWhenTooManyArguments()
                                     throws Throwable
Throws:
Throwable

testNoMatchWhenTooFewArguments

public void testNoMatchWhenTooFewArguments()
                                    throws Throwable
Throws:
Throwable

testNoMatchWhenAnyArgumentDoesNotConform

public void testNoMatchWhenAnyArgumentDoesNotConform()
                                              throws Throwable
Throws:
Throwable

testArgumentsMatchWhenAllArgumentsMatch

public void testArgumentsMatchWhenAllArgumentsMatch()
                                             throws Throwable
Throws:
Throwable

testClonesConstraintListDuringConstructor

public void testClonesConstraintListDuringConstructor()