"from methoddef import Method1\n" +
"Method1(10, param2=20)\n" +
"Method1(param1=10, param2=20)\n" +
"";
Module root = (Module) parseLegalDocStr(s);
Expr expr = (Expr) root.body[1];
Call call = (Call) expr.value;
Name name = (Name) call.func;
FindCallVisitor visitor = new FindCallVisitor(name);
visitor.traverse(root);
assertSame(call, visitor.getCall());