@Test
public void parse_hasArgType() throws Exception
{
String stmt=" testResult = testResolver . method_b ( my.argKey (int), \"aaa\", 10 ( somepkg. some\t\r. someClass \t ) , 345 \t(double ) , \"aaa\" (String), 'a' (char) , endArg()); ";
InvokeStatementParser isp=new InvokeStatementParser(stmt);
isp.parse();
Assert.assertEquals("testResult", isp.getResultKey());
Assert.assertEquals("testResolver", isp.getResolver());
Assert.assertEquals("method_b", isp.getMethodName());
String[] args=isp.getArgs();
String[] argTypes=isp.getArgTypes();
Assert.assertEquals(args.length, argTypes.length);
Assert.assertEquals("my.argKey", args[0]);
Assert.assertEquals("int", argTypes[0]);