public boolean enabled() {
        return get(ENABLED, defaultValue);
    }
@Test
    public void basicTest() {
        ConfigApplyDelegate delegate = configApply -> { };
        ObjectMapper mapper = new ObjectMapper();

        TestConfig enabled = new TestConfig(true);
        TestConfig disabled = new TestConfig(false);

        enabled.init("enabled", "KEY", JsonNodeFactory.instance.objectNode(), mapper, delegate);
        disabled.init("disabled", "KEY", JsonNodeFactory.instance.objectNode(), mapper, delegate);

        assertThat(enabled.enabled(), is(true));
        assertThat(disabled.enabled(), is(false));

        disabled.enabled(true);
        enabled.enabled(false);
        assertThat(enabled.enabled(), is(false));
        assertThat(disabled.enabled(), is(true));
    }