assertEquals(b2, slice.get(sliceIndex));
}
}
private ChunkedExpander getExpander(final int chunkSize) {
return new ChunkedExpander(getByteArrayFactory(), chunkSize) {
@Override
public void expand(CompositeByteArray cba, int minSize) {
addOperation("ChunkedExpander(" + chunkSize + ").expand(" + cba + "," + minSize + ")");
super.expand(cba, minSize);
}