# File tests/drivers/rhevm/instances_test.rb, line 13
    def test_01_01_it_can_create_instance_without_hardware_profile
      params = {
        :image_id => 'bb2e79bd-fd73-46a1-b391-a390b1998f03',
        :name => 'mock-test1',
        'api[driver]''api[driver]' => 'rhevm',
      }
      post_url '/api/instances', params
      last_response.status.should == 201 # Created
      @@instance = last_xml_response
      (@@instance/'instance').length.should > 0
      (@@instance/'instance/name').first.text.should_not == nil
      (@@instance/'instance/name').first.text.should == 'mock-test1'
      (@@instance/'instance/owner_id').first.text.should_not == ''
      (@@instance/'instance/owner_id').first.text.should == ENV['API_USER']
      (@@instance/'instance/state').first.text.should == 'PENDING'
    end