'A decorated method returns the value returned by the original method,
and logs expected text to Eliot.'

@capture_logging(assertHasMessage, TEST_MESSAGE, {'method': u'return_method'})
def test_return(self, logger):

    result = object()
    logging_dummy = LoggingDummy(Dummy(result))
    self.assertIs(result, logging_dummy.return_method())
