'L{formatEvent} will handle a flattened event with tailing text after
a replacement field.'

def test_formatEventFlatTrailingText(self):

    event = dict(log_format='test    {x}    trailing', x='value')
    flattenEvent(event)
    result = formatEvent(event)
    self.assertEqual(result, u'test    value    trailing')
