DodecahedronList2 { public String toString() { String result = listName + "\n"; for (int i = 0; i < arrSize; i++) { result += "\n" + dodObjList[i].toString() + "\n"; } return result; } DodecahedronList2(String listNameIn, Dodecahedron[] dodObjListIn,
                                                             int arrSizeIn); String getName(); int numberOfDodecahedrons(); double totalSurfaceArea(); double totalVolume(); double averageSurfaceArea(); double averageVolume(); double averageSurfaceToVolumeRatio(); String toString(); String summaryInfo(); Dodecahedron[] getList(); DodecahedronList2 readFile(String fileNameIn); void addDodecahedron(String labelIn, String colorIn, double edgeIn); Dodecahedron findDodecahedron(String labelIn); Dodecahedron deleteDodecahedron(String labelIn); boolean editDodecahedron(String labelIn, String colorIn, 
                                                   double edgeIn); Dodecahedron findDodecahedronWithShortestEdge(); Dodecahedron findDodecahedronWithLongestEdge(); Dodecahedron findDodecahedronWithSmallestVolume(); Dodecahedron findDodecahedronWithLargestVolume();  }
@Test public void toStringTest() throws Exception { setUp(); for (int i = 0; i < 5; i++) { Dodecahedron dodObj = new Dodecahedron("test" + i, "color" + i, i + .25); dodObjList[i] = dodObj; } Assert.assertEquals("", true, dodObjList[4].toString() .contains(" with 30 edges of length ")); }