put.setRequestEntity(new StringRequestEntity("foo", "text/plain", "UTF-8"));
status = this.client.executeMethod(put);
assertEquals(201, status);
// enabling version control always makes the resource referenceable
VersionControlMethod versioncontrol = new VersionControlMethod(testres1);
status = this.client.executeMethod(versioncontrol);
assertTrue("status: " + status, status == 200 || status == 201);
//create new resource R' with path testSimpleBind/bindtest2/res2
put = new PutMethod(testres2);