'L{_ErrorFormatter.formatError} should use C{errorTab} if it is supplied
and contains the requested error code.'

def test_errorTab(self):

    formatter = _ErrorFormatter(None, None, {self.probeErrorCode: self.probeMessage})
    message = formatter.formatError(self.probeErrorCode)
    self.assertEqual(message, self.probeMessage)
