/**
  * There's a case on ClusterConnections that we need to find an equivalent Connector and we can't
  * use a Netty Cluster Connection on an InVM ClusterConnection (inVM used on tests) for that
  * reason I need to test if the two instances of the TransportConfiguration are equivalent while a
  * test a connector against an acceptor
  *
  * @param otherConfig
  * @return {@code true} if the factory class names are equivalents
  */
 public boolean isEquivalent(TransportConfiguration otherConfig) {
   if (this.getFactoryClassName().equals(otherConfig.getFactoryClassName())) {
     return true;
   } else if (this.getFactoryClassName().contains("Netty")
       && otherConfig.getFactoryClassName().contains("Netty")) {
     return true;
   } else if (this.getFactoryClassName().contains("InVM")
       && otherConfig.getFactoryClassName().contains("InVM")) {
     return true;
   } else {
     return false;
   }
 }