assertEquals("abcdeabcde", IOUtils.toString(doubled
.getInputStream()));
assertEquals(10l, doubled.getLength());
}
{
ContentSHA one = storage.storeContent(new ByteArrayInputStream(
"abcde".getBytes()));
Content doubled = new ContentConcatenation().getContent(storage,
new BasicBSONObject("store", "cat").append("base",
new BasicBSONObject("store", "cat").append("base",