run an individual test against a declared ejbSelect method
ComponentNameConstructor compName = getVerifierContext().getComponentNameConstructor();
if (methodThrowException(m, "javax.ejb.FinderException")) {
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.SelectMethodException.passed",
"[ {0} ] throws the javax.ejb.FinderException",
new Object[] {m.getName()}));
return true;
} else {
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.SelectMethodException.failed",
"Error : [ {0} ] does not throw the javax.ejb.FinderException",
new Object[] {m.getName()}));
return false;
}