test.jmock.expectation
Class ReturnObjectBagTest

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

public class ReturnObjectBagTest
extends TestCase


Constructor Summary
ReturnObjectBagTest()
           
 
Method Summary
protected  void setUp()
           
 void testEmptyList()
           
 void testLeftoverObjectFails()
           
 void testNoListForKey()
           
 void testNullKey()
           
 void testReturnBoolean()
           
 void testReturnInt()
           
 void testReturnSucceeds()
           
 void testShortKey()
           
 void testTooManyReturns()
           
 
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

ReturnObjectBagTest

public ReturnObjectBagTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Throws:
Exception

testLeftoverObjectFails

public void testLeftoverObjectFails()

testEmptyList

public void testEmptyList()

testReturnSucceeds

public void testReturnSucceeds()

testReturnInt

public void testReturnInt()

testReturnBoolean

public void testReturnBoolean()

testShortKey

public void testShortKey()

testNoListForKey

public void testNoListForKey()

testNullKey

public void testNullKey()

testTooManyReturns

public void testTooManyReturns()