public void testGetMethod()
{
Class v = new java.util.Vector().getClass();
Class st = new java.util.StringTokenizer("some string").getClass();
JavaClass jcVec = new JavaClass(v);
JavaClass jcST = new JavaClass(st);
Method countTkns = jcST.getMethod("countTokens", 0);
Method nextTkn = jcST.getMethod("nextToken", 1);
Method add1 = jcVec.getMethod("add", 1);
Method add2 = jcVec.getMethod("add", 2);
assertEquals("countTokens", countTkns.getName());