@Test
public void testPrefixedWithNotPrefixed()
{

    Map<String, String> properties = new TreeMap<>();
    properties.put("string-value", "some value");
    properties.put("boolean-value", "true");
    properties.put("prefix.string-value", "some other value");
    properties.put("prefix.boolean-value", "false");
    inspect(properties, null, null, null,
            binder -> {
                bindConfig(binder).bind(AnnotatedSetter.class);
                bindConfig(binder).bind(AnnotatedSetter.class).annotatedWith(Prefixed.class).prefixedWith("prefix");
            })
            .component("ConfigurationFactoryTest$AnnotatedSetter")
            .value("BooleanValue", "boolean-value", "false", "true", "")
            .value("StringValue", "string-value", "null", "some value", "")
            .component("@Prefixed", "ConfigurationFactoryTest$AnnotatedSetter")
            .value("BooleanValue", "prefix.boolean-value", "false", "false", "")
            .value("StringValue", "prefix.string-value", "null", "some other value", "")
            .end();
}