byte
8788899091929394959697
// collections testing framework // ------------------------------------------------------------------------ protected Object makeObject() { ByteList list = new ArrayByteList(); for(int i=0;i<10;i++) { list.add((byte)i); } return new ByteCollectionCollection(list); }
117118119120121122123124125
public void testWrapNull() { assertNull(ByteCollectionCollection.wrap(null)); } public void testWrapSerializable() { Collection collection = ByteCollectionCollection.wrap(new ArrayByteList()); assertNotNull(collection); assertTrue(collection instanceof Serializable); }