public AdvancedNetworkConfig getAdvancedNetworkConfig() {
        return advancedNetworkConfig;
    }
@Test
    public void testEndpointConfig() {
        String name = randomName();
        EndpointQualifier qualifier = EndpointQualifier.resolve(WAN, name);
        ServerSocketEndpointConfig endpointConfig = new ServerSocketEndpointConfig();
        endpointConfig.setName(name);
        endpointConfig.setProtocolType(WAN);
        config.getAdvancedNetworkConfig().addWanEndpointConfig(endpointConfig);

        assertEquals(endpointConfig,
          config.getAdvancedNetworkConfig().getEndpointConfigs().get(qualifier));
    }