// true in annotation
fire(new Before(FakeAnnotatedClass.class, FakeAnnotatedClass.class.getMethod("takeWhenTestFailedMethod")));
bind(TestScoped.class, TestResult.class, TestResult.failed(new Throwable()));
fire(new After(FakeAnnotatedClass.class, FakeAnnotatedClass.class.getMethod("takeWhenTestFailedMethod")));
// so we take it
assertEventFired(BeforeScreenshotTaken.class, 1);
assertEventFired(TakeScreenshot.class, 1);
assertEventFired(AfterScreenshotTaken.class, 1);