public class ClassParserTest {
@Test
public void testSimple() {
PluginFactory factory = new PluginFactory();
factory.registerPlugin(new JPAPlugin());
ClassParser parser = new ClassParser();
AnnotatedClass res = parser.parse(AnnotatedTestEntity.class, factory);
assertNotNull(res);
assertEquals(1, res.getAnnotations().size());
assertEquals(1, res.getFields().size());