def METHOD_NAME(stats_mock, iter_mock):
    # tests that when you iter it calls iter_tags with
    # stats data
    tags_tool = TagsTool()
    stats_mock.configure_mock(**{"return_value.data": [7, 23]})
    iter_mock.return_value = iter([])
    assert list(tags_tool) == []
    assert stats_mock.called
    assert list(iter_mock.call_args) == [([7, 23],), {}]