'L{reporter.Reporter} accumulates the expected failures that it
is notified of.'

def test_accumulation(self):

    self.result.addExpectedFailure(self.test, Failure(Exception()), makeTodo('todo!'))
    self.assertEqual(len(self._getTodos(self.result)), 1)
