assertTrue( definitions.containsKey( "prototypeExposedBean" ) );
}
@Test
public void filterByInterface() {
BeanFilter filter = new ClassBeanFilter( Marker.class );
Map<String, Object> beans = ApplicationContextScanner.findSingletonsMatching( applicationContext, filter );
assertEquals( 3, beans.size() );
assertSame( beanWithExposedAnnotation, beans.get( "beanWithExposedAnnotation" ) );
assertSame( otherBeanWithRefreshableAnnotation, beans.get( "otherBeanWithRefreshableAnnotation" ) );