javaMethod = type.getMethod(testMethodName);
} catch (Exception e) {
return null;
}
JExercise jexAnnotation = (JExercise) javaMethod.getAnnotation(JExercise.class);
String tests = jexAnnotation.tests();
if (tests == null) {
tests = testedMethodName;
}
JavaMethodTester javaMethodTester = (JavaMethodTester) ensureJavaElement(testMethodName, methodTesterParent.getMembers(), JexPackage.eINSTANCE.getJavaMethodTester());
JUnitTest testReq = ensureJunitTest(javaMethodTester, tests, methodParent, reqParent);