{
MultiStatusResponseHandler handler = new MultiStatusResponseHandler();
Multistatus status = handler.getMultistatus(new ByteArrayInputStream(response.getBytes()));
assertNotNull(status);
assertEquals(1, status.getResponse().size());
Response r = status.getResponse().get(0);
assertNotNull(r.getPropstat());
assertFalse(r.getPropstat().isEmpty());
DavAcl davAcl = new DavAcl(r);
assertNotNull("Query should give a owner name " + response, davAcl.getOwner());
assertEquals("Query should give us group name", "/group/somegroup", davAcl.getGroup());
assertNotNull("Query should result in an existing ACL", davAcl.getAces());
// check ACEs decoding