'L{reporter._ExitWrapper} causes a wrapped reporter to stop after its
first failure.'

def test_stopOnFailure(self):

    self.wrapped.addFailure(self.test, self.failure)
    self.assertTrue(self.wrapped.shouldStop)
    self.assertEqual(self.result.failures, [(self.test, self.failure)])
