public class MapsTestCase extends junit.framework.TestCase implements CollectionDemoClasses
Modifier and Type | Class and Description |
---|---|
static class |
MapsTestCase.Bowl |
CollectionDemoClasses.Cod, CollectionDemoClasses.Fish, CollectionDemoClasses.Shark
Modifier and Type | Field and Description |
---|---|
private org.picocontainer.MutablePicoContainer |
pico |
Constructor and Description |
---|
MapsTestCase() |
Modifier and Type | Method and Description |
---|---|
protected void |
setUp() |
void |
testShouldCreateBowlWith2CodsOnly() |
void |
testShouldCreateBowlWithFishCollection() |
void |
testShouldCreateBowlWithFishesFromParent() |
void |
testShouldCreateBowlWithNamedFishesOnly() |
void |
testShouldCreateBowlWithoutTom() |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
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
protected void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
public void testShouldCreateBowlWithFishCollection()
public void testShouldCreateBowlWithNamedFishesOnly()
public void testShouldCreateBowlWithFishesFromParent()
public void testShouldCreateBowlWith2CodsOnly()
public void testShouldCreateBowlWithoutTom()