@Test
public void shouldDetectAnnotationsOnDerivedClasses() {

    BravoClass bravo = new BravoClass();
    CharlieClass charlie = new CharlieClass();
    assertTrue("should find bravo cap on BravoClass", Capabilities.hasCapability(bravo, "bravo"));
    assertFalse("should not find blahblah cap on BravoClass", Capabilities.hasCapability(bravo, "blahblah"));
    assertTrue("should find charlie cap on CharlieClass", Capabilities.hasCapability(charlie, "charlie"));
    assertFalse("should not find blahblah cap on CharlieClass", Capabilities.hasCapability(charlie, "blahblah"));
}