@Test(expected=CloneNotSupportedException.class)
public void testCloneStreamingEntityEnclosingRequests() throws Exception {

    ByteArrayInputStream instream = new ByteArrayInputStream(new byte[] {});
    InputStreamEntity e2 = new InputStreamEntity(instream, -1);
    HttpPost httppost = new HttpPost("http://host/path");
    httppost.setEntity(e2);
    httppost.clone();
}