'A decorated method raises the same exception raised by the original
method, and logs expected text to Eliot.'

@capture_logging(assertHasMessage, TEST_EXCEPTION, {'method': u'raise_method'})
def test_raise(self, logger):

    result = ValueError('Things.')
    logging_dummy = LoggingDummy(Dummy(result))
    exception = self.assertRaises(ValueError, logging_dummy.raise_method)
    self.assertIs(result, exception)
