'Verify log message.
Tests that use this are a little brittle because adding more
logging can break them.
TODO(dstanek): remove the need for this in a future refactoring'

def verify_log_message(self, data):

    log_fn = self.mock_log.debug
    self.assertEqual(len(data), log_fn.call_count)
    for datum in data:
        log_fn.assert_any_call(mock.ANY, datum)
