public class AnnotationScannerTest {
@Test
public void testScanForAnnotation() {
AnnotationScanner scanner = new AnnotationScanner();
Set<Class<?>> classSet = scanner.scan("me.prettyprint.hom.beans", javax.persistence.Entity.class);
int count = 0;
assertTrue(classSet.contains(MyTestBean.class));
count++;
assertTrue(classSet.contains(MyBlueTestBean.class));