assertEquals("upsert2", found.name());
assertEquals(2, found.views().size());
assertEquals("function(d,m){}", found.views().get(0).map());
assertEquals("_count", found.views().get(0).reduce());
assertEquals("function(d,m){}", found.views().get(1).map());
assertEquals("_count", found.views().get(1).reduce());
}
@Test
public void shouldGetDesignDocuments() {
List<View> views = Arrays.asList(DefaultView.create("v1", "function(d,m){}"));