assertEquals("action=parse&format=xml&text={{Project:Sandbox}}&title=A Sandbox Template test", request.toString());
}
public void testParseQuery() {
User user = getAnonymousUser();
Connector connector = new Connector();
user = connector.login(user);
System.out.println(user.getToken());
RequestBuilder request = Parse.create().page("Main Page");
ParseData parseData = connector.parse(user, request);
assertNotNull(parseData);
assertNotNull(parseData.getText());
String html = StringEscapeUtils.unescapeHtml(parseData.getText());