### Question:
AnnotationBasedConfigurationMigrator implements ConfigurationMigrator { @Override @Nonnull public Map<String,String> apply( @Nonnull Map<String,String> rawConfiguration, @Nonnull Log log ) { for ( ConfigurationMigrator migrator : migrators ) { rawConfiguration = migrator.apply( rawConfiguration, log ); } return rawConfiguration; } AnnotationBasedConfigurationMigrator( @Nonnull Iterable<LoadableConfig> settingsClasses ); @Override @Nonnull Map<String,String> apply( @Nonnull Map<String,String> rawConfiguration, @Nonnull Log log );  }### Answer:
@Test public void migratorShouldGetPickedUp() { AnnotationBasedConfigurationMigrator migrator = new AnnotationBasedConfigurationMigrator( Collections.singleton( new SomeSettings() ) ); migrator.apply( new HashMap<>(), mock( Log.class ) ); assertThat( wasCalled.get(), is( true ) ); }