'If more than one cleanup fails, then the test should fail with more
than one error.'

def test_multipleErrorsReported(self):

    self.test.addCleanup(self.test.fail, 'foo')
    self.test.addCleanup(self.test.fail, 'bar')
    self.test.run(self.result)
    self.assertEqual(['setUp', 'runTest', 'tearDown'], self.test.log)
    self.assertEqual(2, len(self.result.errors))
    [(test1, error1), (test2, error2)] = self.result.errors
    self.assertEqual(test1, self.test)
    self.assertEqual(test2, self.test)
    self.assertEqual(error1.getErrorMessage(), 'bar')
    self.assertEqual(error2.getErrorMessage(), 'foo')
