### Question:
CloudantPostResponse { public boolean isOk() { return ok; }  String getId(); void setId(String id); boolean isOk(); void setOk(boolean ok); String getRev(); void setRev(String rev);  }### Answer:
@Test public void testIsOk() { CloudantPostResponse resp = new CloudantPostResponse(); resp.setOk(false); assertFalse(resp.isOk()); resp.setOk(true); assertTrue(resp.isOk()); }