<BUG>}@Test(expected = NoResourceException.class)public void getDocumentInputStream_idNotExist_exception() {client.getDocumentStream("id_not_exist", "1-no_such_rev");</BUG><CONTEXT>Assert.assertEquals("world", doc.get("hello"));Assert.assertTrue(doc.containsKey(CouchConstants._id));Assert.assertEquals(res.getId(), doc.get(CouchConstants._id));Assert.assertTrue(doc.containsKey(CouchConstants._rev));Assert.assertEquals(res.getRev(), doc.get(CouchConstants._rev));<extra_id_0>}</CONTEXT>
[DELETED]