public void petViewWithDocsTest() {
List<TextDocument> couchDocuments = strategy.readTextDocuments(JacksonTestSetup.petViewWithDocs);
assertEquals(couchDocuments.size(), 2);
TextDocument couchDocument = couchDocuments.get(0);
assertEquals(couchDocument.getDocumentId(), "7889");
assertEquals(couchDocument.getDocumentRevision(), "1-8765");
String content = couchDocument.getContent();
assertNotNull(content);
assertTrue(content.contains("\"_id\":\"7889\","), content);
assertTrue(content.contains("\"type\":\"DOG\","), content);
assertEquals(couchDocument.getContent(), JacksonTestSetup.petDocJson);
couchDocument = couchDocuments.get(1);
assertEquals(couchDocument.getDocumentRevision(), "1-99222");
assertEquals(couchDocument.getDocumentId(), "9999");
content = couchDocument.getContent();
assertNotNull(content);
assertTrue(content.contains("\"_id\":\"9999\","), content);
assertTrue(content.contains("\"type\":\"DOG\","), content);
assertTrue(content.contains("\"name\":\"Rocky\","), content);
}