@Test
public void testIterableSliceExpectedSingle() throws IOException {
PayloadSlicer slicer = new BasePayloadSlicer();
String contents = "aaaaaaaaaabbbbbbbbbbccccc";
Payload payload = new InputStreamPayload(new ByteArrayInputStream(contents.getBytes(Charsets.US_ASCII)));
Iterator<Payload> iter = slicer.slice(payload, 25).iterator();
assertTrue(iter.hasNext(), "Not enough results");
assertEquals(Strings2.toStringAndClose(iter.next().openStream()), contents);