'L{WorkerReporter.addFailure} sends a L{managercommands.AddFailure}
command.'

def test_addFailure(self):

    self.workerReporter.addFailure(self.test, Failure(RuntimeError('fail')))
    self.assertEqual(self.fakeAMProtocol.lastCall, managercommands.AddFailure)
