// a bit of an oddity.. the jsonp() request is NOT done async.
// delayTestFinish(REQUEST_TIMEOUT);
}
private JsonCallback expectJsonIsSetTo(final JSONObject expected) {
return new JsonCallback() {
public void onSuccess(Method method, JSONValue response) {
System.out.println("Got: " + response.toString());
assertEquals(expected.toString(), response.toString());
// finishTest();
}