@Test
public void testOnMethod_withTwoArguments() throws Exception {
codeGenerator.onMethodName(new Variable("string.substring", -1));
codeGenerator.onConstant(new StringToken("hello", -1));
codeGenerator.onMethodParameter(null);
codeGenerator.onConstant(new NumberToken(2L, "2"));
codeGenerator.onMethodParameter(null);
codeGenerator.onConstant(new NumberToken(5L, "5"));
codeGenerator.onMethodParameter(null);