'L{WorkerReporter.addExpectedFailure} sends a
L{managercommands.AddExpectedFailure} command.
protocol.'

def test_addExpectedFailure(self):

    self.workerReporter.addExpectedFailure(self.test, Failure(RuntimeError('error')), Todo('todo'))
    self.assertEqual(self.fakeAMProtocol.lastCall, managercommands.AddExpectedFailure)
