Test if the ManagedConnectionFactory implementation override the
equals 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, "equals", new Class[] {Object.class}, "public boolean equals(Object)", result);
}
return result;