String path = getPathWS() + "/folderA/folderB";
ContainerResponse response = service(WebDAVMethods.GET, path, "", null, null);
assertEquals("Successful result expected (200), but actual is: " + response.getStatus(), 200, response.getStatus());
XSLTStreamingOutput XSLTout = (XSLTStreamingOutput)response.getEntity();
ByteArrayOutputStream byteOut = new ByteArrayOutputStream();
XSLTout.write(byteOut);
assertTrue("Response should contain parent collection href", byteOut.toString().contains("folderA"));
}