public class CollectionsTestCase extends junit.framework.TestCase implements CollectionDemoClasses
Modifier and Type | Class and Description |
---|---|
static class |
CollectionsTestCase.Bowl |
CollectionDemoClasses.Cod, CollectionDemoClasses.Fish, CollectionDemoClasses.Shark
Modifier and Type | Field and Description |
---|---|
private org.picocontainer.MutablePicoContainer |
pico |
Constructor and Description |
---|
CollectionsTestCase() |
Modifier and Type | Method and Description |
---|---|
protected void |
setUp() |
void |
testShouldCreateBowlWithFishCollection() |
void |
testShouldCreateBowlWithFishCollectionAnyway() |
void |
testShouldCreateBowlWithFishesOnly() |
void |
testShouldCreateBowlWithNoFishAtAll() |
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 testShouldCreateBowlWithFishesOnly()
public void testShouldCreateBowlWithFishCollectionAnyway()
public void testShouldCreateBowlWithNoFishAtAll()