Java 类org.springframework.boot.configurationsample.simple.SimplePrefixValueProperties 实例源码

项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:ConfigurationMetadataAnnotationProcessorTests.java   
@Test
public void simplePrefixValueProperties() throws Exception {
    ConfigurationMetadata metadata = compile(SimplePrefixValueProperties.class);
    assertThat(metadata).has(Metadata.withGroup("simple")
            .fromSource(SimplePrefixValueProperties.class));
    assertThat(metadata).has(Metadata.withProperty("simple.name", String.class)
            .fromSource(SimplePrefixValueProperties.class));
}
项目:spring-boot-concourse    文件:ConfigurationMetadataAnnotationProcessorTests.java   
@Test
public void simplePrefixValueProperties() throws Exception {
    ConfigurationMetadata metadata = compile(SimplePrefixValueProperties.class);
    assertThat(metadata).has(Metadata.withGroup("simple")
            .fromSource(SimplePrefixValueProperties.class));
    assertThat(metadata).has(Metadata.withProperty("simple.name", String.class)
            .fromSource(SimplePrefixValueProperties.class));
}
项目:contestparser    文件:ConfigurationMetadataAnnotationProcessorTests.java   
@Test
public void simplePrefixValueProperties() throws Exception {
    ConfigurationMetadata metadata = compile(SimplePrefixValueProperties.class);
    assertThat(metadata,
            containsGroup("simple").fromSource(SimplePrefixValueProperties.class));
    assertThat(metadata, containsProperty("simple.name", String.class)
            .fromSource(SimplePrefixValueProperties.class));
}