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, toStringassertEquals, 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, failSameprotected void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.Exceptionpublic void testShouldCreateBowlWithFishCollection()
public void testShouldCreateBowlWithFishesOnly()
public void testShouldCreateBowlWithFishCollectionAnyway()
public void testShouldCreateBowlWithNoFishAtAll()