@Test public void innerClassAnnotatedGetterConfig() throws Exception { ConfigurationMetadata metadata = compile(InnerClassAnnotatedGetterConfig.class); assertThat(metadata).has(Metadata.withProperty("specific.value")); assertThat(metadata).has(Metadata.withProperty("foo.name")); assertThat(metadata).isNotEqualTo(Metadata.withProperty("specific.foo")); }
@Test public void innerClassAnnotatedGetterConfig() throws Exception { ConfigurationMetadata metadata = compile(InnerClassAnnotatedGetterConfig.class); assertThat(metadata, containsProperty("specific.value")); assertThat(metadata, containsProperty("foo.name")); assertThat(metadata, not(containsProperty("specific.foo"))); }