ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray());
ObjectInput oi = marshaller.startObjectInput(in, false);
try {
cs.fromStream(new UnclosableObjectInputStream(oi));
} finally {
marshaller.finishObjectInput(oi);
}
Set<InternalCacheEntry> set = cs.loadAll();
assert set.size() == 2;
Set<String> expected = new HashSet<String>();