@VisibleForTesting
  GatewayReceiverInfo generateGatewayReceiverInfo(
      org.apache.geode.cache.wan.GatewayReceiver receiver) {
    GatewayReceiverMBeanBridge bridge = new GatewayReceiverMBeanBridge(receiver);
    GatewayReceiverInfo info = new GatewayReceiverInfo();
    info.setBindAddress(receiver.getBindAddress());
    info.setHostnameForSenders(receiver.getHostnameForSenders());
    info.setPort(receiver.getPort());
    info.setRunning(receiver.isRunning());
    info.setSenderCount(bridge.getClientConnectionCount());
    info.setConnectedSenders(bridge.getConnectedGatewaySenders());
    return info;
  }
Need to keep this method since we are using the realizer in the GatewayReceiverFunction
geode-core/src/main/java/org/apache/geode/management/internal/configuration/realizers/GatewayReceiverRealizer.java