use of org.springframework.boot.configurationsample.method.InvalidMethodConfig in project spring-boot by spring-projects.
the class ConfigurationMetadataAnnotationProcessorTests method invalidMethodConfig.
@Test
public void invalidMethodConfig() throws Exception {
ConfigurationMetadata metadata = compile(InvalidMethodConfig.class);
assertThat(metadata).has(Metadata.withProperty("something.name", String.class).fromSource(InvalidMethodConfig.class));
assertThat(metadata).isNotEqualTo(Metadata.withProperty("invalid.name"));
}
Aggregations