Test if the ManagedConnectionFactory implementation override the
hashCode method
Result result = getInitializedResult();
ComponentNameConstructor compName =
getVerifierContext().getComponentNameConstructor();
// test NA for inboundRA
if(!descriptor.getOutBoundDefined())
{
result.addNaDetails(smh.getLocalString
("tests.componentNameConstructor",
"For [ {0} ]",
new Object[] {compName.toString()}));
result.notApplicable(smh.getLocalString
("com.sun.enterprise.tools.verifier.tests.connector.managed.notApplicableForInboundRA",
"Resource Adapter does not provide outbound communication"));
return result;
}
Class mcf = testManagedConnectionFactoryImpl(descriptor, result);
if (mcf!=null) {
checkMethodImpl(mcf, "hashCode", null, "public int hashCode()", result);
}
return result;