# File lib/rhc/rest/mock.rb, line 179
    def add_domain(id)
      d = MockRestDomain.new(id, self)
      @domains << d
      d
    end