scope = assertRetrievals("Name1");
MetaData classMetaData = assertMetaData();
MetaData metaData = classMetaData.getComponentMetaData(new MethodSignature("getSomething"));
TestAnnotationA a = assertAnnotation(metaData, TestAnnotationA.class);
assertEquals("NotOverridden", a.value());
TestAnnotationB b = assertAnnotation(metaData, TestAnnotationB.class);
assertEquals("NotOverridden", b.value());
assertNoAnnotation(metaData, TestAnnotationC.class);
metaData = classMetaData.getComponentMetaData(new MethodSignature("setSomething", String.class));
a = assertAnnotation(metaData, TestAnnotationA.class);
assertEquals("NotOverridden", a.value());
b = assertAnnotation(metaData, TestAnnotationB.class);
assertEquals("NotOverridden", b.value());
assertNoAnnotation(metaData, TestAnnotationC.class);
}
finally
{
undeploy(deployment);