@Test
public void shouldBuildDefaultConfigurationIfAnnotationOrAnnotatedValuesNotPresent() {
SpringAnnotationBuilder builderNotAnnotated = new SpringAnnotationBuilder(
NotAnnotated.class);
assertThatConfigurationIs(builderNotAnnotated.buildConfiguration(),
new MostUsefulConfiguration());
SpringAnnotationBuilder builderAnnotatedWithoutLocations = new SpringAnnotationBuilder(
AnnotatedWithoutResources.class);
assertThatConfigurationIs(
builderAnnotatedWithoutLocations.buildConfiguration(),
new MostUsefulConfiguration());
}