run an individual test against a declared ejbSelect method
ComponentNameConstructor compName = getVerifierContext().getComponentNameConstructor();
if (m.getReturnType().getName().equals(descriptor.getEjbClassName())) {
result.addErrorDetails(smh.getLocalString
("tests.componentNameConstructor",
"For [ {0} ]",
new Object[] {compName.toString()}));
result.addErrorDetails(smh.getLocalString
("com.sun.enterprise.tools.verifier.tests.ejb.entity.cmp2.SelectMethodReturnType.failed",
"Error : [ {0} ] ejbSelect method returns the {1} class",
new Object[] {m.getName(), "entity bean"}));
return false;
} else {
result.addGoodDetails(smh.getLocalString
("tests.componentNameConstructor",
"For [ {0} ]",
new Object[] {compName.toString()}));
result.addGoodDetails(smh.getLocalString
("com.sun.enterprise.tools.verifier.tests.ejb.entity.cmp2.SelectMethodReturnType.passed",
"[ {0} ] ejbSelect method does not return the {1} class",
new Object[] {m.getName(), "entity bean"}));
return true;
}