public void testLongInvoker() throws SecurityException, ClassNotFoundException, NoSuchMethodException, NumberFormatException, IOException {
InvokeForLong il = new InvokeForLong("java.lang.Long.valueOf", "String");
Tuple t = tf_.newTuple(1);
String arg = "245";
t.set(0, arg);
assertEquals(Long.valueOf(arg), il.exec(t));
}
@Test
public void testIntInvoker() throws SecurityException, ClassNotFoundException, NoSuchMethodException, NumberFormatException, IOException {
InvokeForInt il = new InvokeForInt("java.lang.Integer.valueOf", "String");