public void testPUTPageSyntax() throws Exception
{
Page originalPage = getFirstPage();
GetMethod getMethod = executeGet(getFullUri(SyntaxesResource.class));
Syntaxes syntaxes = (Syntaxes) unmarshaller.unmarshal(getMethod.getResponseBodyAsStream());
String newSyntax = null;
for (String syntax : syntaxes.getSyntaxes()) {
if (!syntax.equals(originalPage.getSyntax())) {
newSyntax = syntax;
break;
}
}