test.jmock.core.constraint
Class IsSameTest

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

public class IsSameTest
extends AbstractConstraintsTest


Field Summary
 
Fields inherited from class test.jmock.core.constraint.AbstractConstraintsTest
ANY_NON_NULL_ARGUMENT, ARGUMENT_IGNORED, FALSE_CONSTRAINT, NEVER_EVALUATED, TRUE_CONSTRAINT
 
Constructor Summary
IsSameTest()
           
 
Method Summary
 void testEvaluatesToTrueIfArgumentIsReferenceToASpecifiedObject()
           
 void testReturnsReadableDescriptionFromToString()
           
 void testReturnsReadableDescriptionFromToStringWhenInitialisedWithNull()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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

IsSameTest

public IsSameTest()
Method Detail

testEvaluatesToTrueIfArgumentIsReferenceToASpecifiedObject

public void testEvaluatesToTrueIfArgumentIsReferenceToASpecifiedObject()

testReturnsReadableDescriptionFromToString

public void testReturnsReadableDescriptionFromToString()

testReturnsReadableDescriptionFromToStringWhenInitialisedWithNull

public void testReturnsReadableDescriptionFromToStringWhenInitialisedWithNull()