public void testCombineOneArray()
throws IOException {
ArrayList<byte[]> list = new ArrayList<byte[]>(1);
list.add(defaultArray);
combiner = new ByteArrayCombinerStream(list, defaultArray.length);
byte[] resArray = new byte[defaultArray.length];
assertEquals(defaultArray.length,
combiner.read(resArray,0, resArray.length));
assertTrue(combiner.read() == -1);
assertTrue(Arrays.equals(defaultArray, resArray));