def test_logCallsDefaultLoggerWrite(self):
        messages = []
        add_destination(messages.append)
        self.addCleanup(remove_destination, messages.append)
        Message.log(some_key=1234)
        self.assertEqual(messages[0][u"some_key"], 1234)
L{Message.log} calls the given logger's C{write} method with a
dataset/ETHPy150Open ClusterHQ/eliot/eliot/tests/test_message.py/MessageTests.test_logCallsDefaultLoggerWrite