*/
@Test
@SuppressWarnings("unchecked")
public void scanningforAtPersistentFindsTypeAliasAnnotatedTypes() {
AnnotatedTypeScanner scanner = new AnnotatedTypeScanner(Persistent.class);
Set<Class<?>> types = scanner.findTypes(getClass().getPackage().getName());
assertThat(types, hasSize(2));
assertThat(types, hasItems(SampleType.class, TypeAlias.class));
}