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