public ConfigKey(String name, String configIdString, String namespace) {
        this(name, configIdString, namespace, null);
    }
@Test
    public void testConfigKey() {
        String name = AppConfig.CONFIG_DEF_NAME;
        String namespace = AppConfig.CONFIG_DEF_NAMESPACE;
        String md5 = AppConfig.CONFIG_DEF_MD5;
        String configId = "myId";

        ConfigKey<AppConfig> classKey = new ConfigKey<>(AppConfig.class, configId);
        assertEquals("Name is set correctly from class", name, classKey.getName());
        assertEquals("Namespace is set correctly from class", namespace, classKey.getNamespace());
        assertEquals(configId, classKey.getConfigId());

        ConfigKey<?> stringKey = new ConfigKey<>(name, configId, namespace);
        assertEquals("Key created from class equals key created from strings", stringKey, classKey);
    }