static Map<String, String> fromSystemProperties()
    {
        final HashMap<String, String> result = new HashMap<>();
        final Properties properties = System.getProperties();
        for (final Map.Entry<Object, Object> entry : properties.entrySet())
        {
            result.put((String)entry.getKey(), (String)entry.getValue());
        }
        return result;
    }
@Test
    void shouldReadSystemProperties()
    {
        final Map<String, String> expectedValues = new HashMap<>();
        try
        {
            expectedValues.put(DISABLED_ARCHIVE_EVENT_CODES, "abc");
            expectedValues.put(LOG_FILENAME, "");
            expectedValues.put(ENABLED_CLUSTER_EVENT_CODES, "1,2,3");
            for (final Map.Entry<String, String> entry : expectedValues.entrySet())
            {
                System.setProperty(entry.getKey(), entry.getValue());
            }
            System.setProperty("ignore me", "1000");

            final Map<String, String> values = fromSystemProperties();

            assertEquals("abc", values.get(DISABLED_ARCHIVE_EVENT_CODES));
            assertEquals("", values.get(LOG_FILENAME));
            assertEquals("1,2,3", values.get(ENABLED_CLUSTER_EVENT_CODES));
        }
        finally
        {
            System.clearProperty(DISABLED_ARCHIVE_EVENT_CODES);
            System.clearProperty(LOG_FILENAME);
            System.clearProperty(ENABLED_CLUSTER_EVENT_CODES);
            System.clearProperty("ignore me");
        }
    }