restRequest.setRequestContent(originalContent);
File saveFile = File.createTempFile("soapui", "xml");
saveFile.deleteOnExit();
project.saveIn(saveFile);
WsdlProject loadedProject = new WsdlProject(saveFile.getAbsolutePath());
loadedProject.loadProject(saveFile.toURL());
RestRequest loadedRequest = (RestRequest) loadedProject.getInterfaceAt(0).getOperationAt(0).getRequestAt(0);
assertThat(loadedRequest.getRequestContent(), is(originalContent));
}
/* Backward compatibility tests end */