'The C{"why"} value, when specified, is first part of message.'

def test_whySpecified(self):

    try:
        raise RuntimeError()
    except:
        eventDict = dict(message=(), isError=1, failure=failure.Failure(), why='foo')
        text = log.textFromEventDict(eventDict)
        self.assertTrue(text.startswith('foo\n'))
