MByHave8 specific callback announcer. This class maintains a list of hooks and it invokes them one-by-one when the given event happens.
The start hooks are invoked in the order as they were attached. The end hooks are invoked in a reverse order.
60616263646566676869
private CallbackAnnouncer announcer; private InOrder inOrder; @Before public void setUp() { announcer = new CallbackAnnouncer(); announcer.addListener(hooks1); announcer.addListener(hooks2); inOrder = inOrder(hooks1, hooks2); }
93949596979899100101102
) ).tag("Broken"); }}; final SpecOutput output = spec.getSpecification().execute( spec.getClass(), new NullReporter(), new CallbackAnnouncer(), new Filter("~Broken")); assertEquals(0, output.getFeatures().size()); }