You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: tag_cloud_query_test.rb
    path of file: ./repos/tracks/test/models
    
    the code of the file until where you have to start completion: require 'test_helper'

class TagCloudQueryTest < ActiveSupport::TestCase

  fixtures :tags, :taggings, 
    
  def test_get_all_tags
    tags = Stats::TagCloudQuery.new(user).result
    assert_equal 2, tags.size
    tags.sort_by! {|t| t.id}
    tag = tags.first
    assert_equal 3, tag.count
    assert_equal "foo", tag.name

    tag = tags.last
    assert_equal 1, tag.count
    assert_equal "bar", tag.name
  end