public void testInheritedClassAnnotations() {
List<Indexes> annotations = ReflectionUtils.getAnnotations(Foobie.class, Indexes.class);
Assert.assertEquals(2, annotations.size());
Assert.assertTrue(ReflectionUtils.getAnnotation(Foobie.class, Indexes.class) instanceof Indexes);
Entity foobie = ReflectionUtils.getClassEntityAnnotation(Foobie.class);
Assert.assertTrue("Sub".equals(foobie.value()));
Entity fooble = ReflectionUtils.getClassEntityAnnotation(Fooble.class);
Assert.assertEquals(Mapper.IGNORED_FIELDNAME, fooble.value());
}