@Test
public void callMethodWithoutWrappers() {
testUtilities.runInsideContext(Void.class, new JSRunnable<Void>() {
public Void run(Context context) {
LOG.info("About to call test2 " + getAddress());
Notifier notifier =
testUtilities.rhinoCallConvert("test2", Notifier.class,
testUtilities.javaToJS(getAddress()),
testUtilities.javaToJS(Double.valueOf(17.0)),
testUtilities.javaToJS(Float.valueOf((float)111.0)),
testUtilities.javaToJS(Integer.valueOf(142)),
testUtilities.javaToJS(Long.valueOf(1240000)),
"This is the cereal shot from gnus");
boolean notified = notifier.waitForJavascript(1000 * 10);
assertTrue(notified);
Integer errorStatus = testUtilities.rhinoEvaluateConvert("globalErrorStatus", Integer.class);
assertNull(errorStatus);
String errorText = testUtilities.rhinoEvaluateConvert("globalErrorStatusText", String.class);
assertNull(errorText);