use of org.springframework.boot.configurationsample.specific.AnnotatedGetter in project spring-boot by spring-projects.
the class ConfigurationMetadataAnnotationProcessorTests method annotatedGetter.
@Test
void annotatedGetter() {
ConfigurationMetadata metadata = compile(AnnotatedGetter.class);
assertThat(metadata).has(Metadata.withGroup("specific").fromSource(AnnotatedGetter.class));
assertThat(metadata).has(Metadata.withProperty("specific.name", String.class).fromSource(AnnotatedGetter.class));
}
Aggregations