### Question:
ClusterServerConfigManager { public static boolean isValidTransportConfig(ServerTransportConfig config) { return config != null && config.getPort() > 0 && config.getPort() <= 65535; } private  ClusterServerConfigManager(); static void registerNamespaceSetProperty(SentinelProperty<Set<String>> property); static void registerServerTransportProperty(SentinelProperty<ServerTransportConfig> property); static void registerGlobalServerFlowProperty(SentinelProperty<ServerFlowConfig> property); static void loadServerNamespaceSet(Set<String> namespaceSet); static void loadGlobalTransportConfig(ServerTransportConfig config); static void loadGlobalFlowConfig(ServerFlowConfig config); static void loadFlowConfig(String namespace, ServerFlowConfig config); static void addTransportConfigChangeObserver(ServerTransportConfigObserver observer); static boolean isValidTransportConfig(ServerTransportConfig config); static boolean isValidFlowConfig(ServerFlowConfig config); static double getExceedCount(String namespace); static double getMaxOccupyRatio(String namespace); static int getIntervalMs(String namespace); static int getSampleCount(String namespace); static double getMaxAllowedQps(); static double getMaxAllowedQps(String namespace); static double getExceedCount(); static double getMaxOccupyRatio(); static Set<String> getNamespaceSet(); static int getPort(); static int getIdleSeconds(); static int getIntervalMs(); static int getSampleCount(); static void setNamespaceSet(Set<String> namespaceSet); static boolean isEmbedded(); static void setEmbedded(boolean embedded); static void setMaxAllowedQps(double maxAllowedQps);  }### Answer:
@Test public void testIsValidTransportConfig() { ServerTransportConfig badConfig1 = new ServerTransportConfig().setPort(-1); ServerTransportConfig badConfig2 = new ServerTransportConfig().setPort(886622); ServerTransportConfig goodConfig1 = new ServerTransportConfig().setPort(23456); assertFalse(ClusterServerConfigManager.isValidTransportConfig(badConfig1)); assertFalse(ClusterServerConfigManager.isValidTransportConfig(badConfig2)); assertTrue(ClusterServerConfigManager.isValidTransportConfig(goodConfig1)); }