### Question:
HazelcastConfigurationManager { public boolean isUpdated(Map properties) { Boolean updated = Boolean.FALSE; if (properties != null) { if (properties.containsKey(Discovery.DISCOVERED_MEMBERS_PROPERTY_NAME)) { Set<String> newDiscoveredMemberSet = CellarUtils.createSetFromString((String) properties.get(Discovery.DISCOVERED_MEMBERS_PROPERTY_NAME)); if (!CellarUtils.collectionEquals(discoveredMemberSet, newDiscoveredMemberSet)) { LOGGER.debug("Hazelcast discoveredMemberSet has been changed from {} to {}", discoveredMemberSet, newDiscoveredMemberSet); discoveredMemberSet = newDiscoveredMemberSet; for (String discoveredMember:discoveredMemberSet) { if (discoveredMember != null && !String.valueOf(discoveredMember).equals("null") && !tcpIpConfig.getMembers().contains(discoveredMember)) { tcpIpConfig.getMembers().add(discoveredMember); } } Iterator<String> iterator = tcpIpConfig.getMembers().iterator(); while (iterator.hasNext()) { String member = iterator.next(); if (!discoveredMemberSet.contains(member)) { iterator.remove(); } } updated = Boolean.TRUE; } } } return updated; }  Config getHazelcastConfig(); boolean isUpdated(Map properties); void setDiscoveryServices(List<DiscoveryService> discoveryServices);  }### Answer:
@Test public void testIsUpdatedWithNoProperties() { HazelcastConfigurationManager cm = new HazelcastConfigurationManager(); Assert.assertFalse(cm.isUpdated(new Properties())); }
@Test public void testIsUpdatedWithEmptyTcpMembers() { HazelcastConfigurationManager cm = new HazelcastConfigurationManager(); Properties p = new Properties(); p.put(Discovery.DISCOVERED_MEMBERS_PROPERTY_NAME ,""); Assert.assertFalse(cm.isUpdated(p)); }