@Test
public void shouldNotifyTestCollectorOfTestEvents() {
FailureListenerSupport listener = new FailureListenerSupport();
collector.addChangeListener(listener);
TestEvent failureEvent = methodFailed("message", DEFAULT_TEST_NAME, "methodName", new AssertionError());
testRun(failureEvent);
assertEquals(failureEvent, getOnlyElement(collector.getFailures()));
assertEquals(failureEvent, getOnlyElement(listener.added));
assertTrue(listener.removed.isEmpty());