# File test/test_SetupAlias.rb, line 9
    def setup
      # for WPM::Driver class
      @driver_call = 0
      @params_call = 0
      @redirect_call = 0
      @redirect_last_page_name = nil
      @redirect_last_query_params = nil

      # for Rucy::Control
      @modified_count_call = 0
      @set_modified_count_call = 0
      @set_modified_count_last_value = nil
      @aliases_call = 0
      @set_aliases_call = 0
      @alias_list = [
        { 'alias_path' => '/bar',
          'orig_path' => '/foo',
          'virtual_host' => nil
        },
        { 'alias_path' => '/fuge',
          'orig_path' => '/hoge',
          'virtual_host' => 'www2'
        }
      ]

      # setup WPM::PageContext class
      loader = WPM::Loader.new('../control/SetupAlias/SetupAlias.rb')
      @SetupAlias = loader.const_get('SetupAlias').new(self, { :control => self })
      assert((@SetupAlias.is_a? WPM::PageContext))
      @SetupAlias.init_context
    end