String filename = TestUtils.getFileName();
InputStream inputStream = new ByteArrayInputStream(content.getBytes());
TestUtils.addContent(session, filename, inputStream, defaultFileNodeType, "");
String destFilename = TextUtil.unescape("/" + folderNameWithSpace + TestUtils.getFileName(), '%');
MultivaluedMap<String, String> headers = new MultivaluedMapImpl();
headers.add(ExtHttpHeaders.DESTINATION, WORKSPACE + destFilename);
ContainerResponse response = service(WebDAVMethods.MOVE, getPathWS() + filename, host, headers, null);
assertEquals(HTTPStatus.CREATED, response.getStatus());
assertTrue(session.getRootNode().hasNode(TextUtil.relativizePath(destFilename)));