Map<String, String> unprocessedNodes(ConfigNode node) {
        List<ConfigNode> nodes = new ArrayList<>();

        findAllUnreadNodes(nodes, node);

        return nodes.stream().map(this::process).collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue));
    }
@Test
    public void shouldDetectUnappliedMemberConfigEntries() throws Exception {
        Map<String, String> entries = new HashMap<>();
        entries.put("HZ_CLUSTERNAME", "foo");
        entries.put("HZ_CLUSTRNAME", "foo");
        entries.put("HZ_NETWORK_PORT", "5702");
        entries.put("HZ_NETWORK_JOIN_TCPIP_BLE", "false");
        entries.put("HZ_NETWORK_JOIN_MULTCAST_ENABLED", "false");

        ConfigNode configNode = PropertiesToNodeConverter.propsToNode(EnvVariablesConfigParser.member().parse(entries));

        new YamlMemberDomConfigProcessor(true, new Config(), false)
          .buildConfig(new ConfigOverrideElementAdapter(configNode));

        Map<String, String> unprocessed = new ConfigNodeStateTracker().unprocessedNodes(configNode);
        assertTrue(unprocessed.containsKey("hazelcast.network.port"));
        assertTrue(unprocessed.containsKey("hazelcast.clustrname"));
        assertTrue(unprocessed.containsKey("hazelcast.network.join.tcpip.ble"));
        assertTrue(unprocessed.containsKey("hazelcast.network.join.multcast.enabled"));
    }