@Test(expected=IllegalArgumentException.class)
public void testNoStaticAnnotation() {
MutableBeanMetadata mbm = new BeanMetadataImpl();
mbm.setId("testPojo");
mbm.setClassName(BadlyAnnotatedPojo2.class.getName());
parser.beforeInit(new BadlyAnnotatedPojo2(), "testPojo", null, mbm);
}