metaClass.addMetaMethod(testMethod);
String testRetType = "java.lang.String";
String[] testParamTypes = new String[]{"java.lang.String"};
IMetaMember result = metaClass.getMemberFromSignature(MemberSignatureParts.fromParts(metaClass.getFullyQualifiedName(),testMethodName, testRetType, testParamTypes));
assertNotNull(result);
assertEquals(testMethod.toString(), result.toString());
}