Java 类org.springframework.boot.configurationsample.specific.InnerClassAnnotatedGetterConfig 实例源码

项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:ConfigurationMetadataAnnotationProcessorTests.java   
@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"));
}
项目:spring-boot-concourse    文件:ConfigurationMetadataAnnotationProcessorTests.java   
@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"));
}
项目:contestparser    文件:ConfigurationMetadataAnnotationProcessorTests.java   
@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")));
}