Run an individual test against a finder method (single or multi)
ComponentNameConstructor compName = getVerifierContext().getComponentNameConstructor();
if (methodThrowException(method, "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.FindMethodException.passed",
"[ {0} ] throws the javax.ejb.FinderException",
new Object[] {method.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.FindMethodException.failed",
"Error : [ {0} ] does not throw the javax.ejb.FinderException",
new Object[] {method.getName()}));
return false;
}