SingleBody body = new StringTextBody("test", CharsetUtil.US_ASCII);
copyTest(body);
}
public void testDisposeStorageBinaryBody() throws Exception {
Storage storage = new MemoryStorageProvider()
.store(new ByteArrayInputStream("test".getBytes()));
MultiReferenceStorage multiReferenceStorage = new MultiReferenceStorage(
storage);
SingleBody body = new StorageBinaryBody(multiReferenceStorage);
disposeTest(body, storage);