@Test
public void javaIntegerToJavaScriptNumber() throws ScriptException {

    scope.put("intValue", Integer.valueOf(1234));
    assertThat(new JavaScript("test","typeof intValue == 'number'").exec(scope)).isEqualTo(true);
    assertThat(new JavaScript("test","intValue == 1234").exec(scope)).isEqualTo(true);
}