test.jmock.core
Class InvocationTest

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

public class InvocationTest
extends TestCase


Constructor Summary
InvocationTest(String name)
           
 
Method Summary
 void setUp()
           
 void testCanBeConstructedFromAMethodObject()
           
 void testConstructorInterpretsNullParameterValueArrayAsZeroArguments()
           
 void testFollowsEqualsHashcodeProtocol()
           
 void testMethodToStringWithNullArg()
           
 void testMethodToStringWithObjectArg()
           
 void testTestsForEqualityOnTargetAndMethodSignatureAndArguments()
           
 void testToStringWithPrimitiveArray()
           
 void testToStringWithStringArray()
           
 void testToStringWithTwoArguments()
           
 
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

InvocationTest

public InvocationTest(String name)
Method Detail

setUp

public void setUp()
           throws Exception
Throws:
Exception

testCanBeConstructedFromAMethodObject

public void testCanBeConstructedFromAMethodObject()
                                           throws Exception
Throws:
Exception

testConstructorInterpretsNullParameterValueArrayAsZeroArguments

public void testConstructorInterpretsNullParameterValueArrayAsZeroArguments()

testTestsForEqualityOnTargetAndMethodSignatureAndArguments

public void testTestsForEqualityOnTargetAndMethodSignatureAndArguments()

testFollowsEqualsHashcodeProtocol

public void testFollowsEqualsHashcodeProtocol()

testToStringWithTwoArguments

public void testToStringWithTwoArguments()
                                  throws Exception
Throws:
Exception

testToStringWithStringArray

public void testToStringWithStringArray()
                                 throws Exception
Throws:
Exception

testToStringWithPrimitiveArray

public void testToStringWithPrimitiveArray()
                                    throws Exception
Throws:
Exception

testMethodToStringWithNullArg

public void testMethodToStringWithNullArg()
                                   throws Exception
Throws:
Exception

testMethodToStringWithObjectArg

public void testMethodToStringWithObjectArg()
                                     throws Exception
Throws:
Exception