String hrefMustBe = TextUtil.escape(getPathWS() + path + "?version=1", '%', true);
assertEquals(hrefMustBe, href.getValue());
Map<QName, WebDavProperty> properties = XmlUtils.parsePropStat(responseProperty);
WebDavProperty versionName = properties.get(DeltaVConstants.VERSIONNAME);
assertNotNull(versionName);
assertEquals(HTTPStatus.OK, versionName.getStatus());
assertEquals("1", versionName.getValue());
WebDavProperty checkedIn = properties.get(DeltaVConstants.CHECKEDIN);
assertNotNull(checkedIn);
assertEquals(HTTPStatus.OK, checkedIn.getStatus());
assertEquals(hrefMustBe, checkedIn.getChild(0).getValue());
WebDavProperty predecessorSet = properties.get(DeltaVConstants.PREDECESSORSET);
assertNotNull(predecessorSet);
assertEquals(HTTPStatus.OK, predecessorSet.getStatus());
WebDavProperty successorSet = properties.get(DeltaVConstants.SUCCESSORSET);
assertNotNull(successorSet);
assertEquals(HTTPStatus.OK, successorSet.getStatus());
WebDavProperty resourceType = properties.get(DeltaVConstants.RESOURCETYPE);
assertNotNull(resourceType);
assertEquals(HTTPStatus.OK, resourceType.getStatus());
WebDavProperty getContentLength = properties.get(DeltaVConstants.GETCONTENTLENGTH);
assertNotNull(getContentLength);
assertEquals(HTTPStatus.OK, getContentLength.getStatus());
assertEquals(content.length(), Integer.parseInt(getContentLength.getValue()));
}