```ruby
require 'spec_helper'

describe ManageEngine::AppManager::Api do
  subject { ManageEngine::AppManager::Api }

  it "can create a new instance" do
    subject.should respond_to(:new)
  end

  describe "new" do
    it "should return a new Api instance" do
      ManageEngine::AppManager::Api.new("11").should be_instance_of(ManageEngine::AppManager::Api::Version11)
    end
  end
end
```

Add Spec for Unknown API Version
user
```ruby
require 'spec_helper'

describe ManageEngine::AppManager::Api do
  subject { ManageEngine::AppManager::Api }

  it "can create a new instance" do
    subject.should respond_to(:new)
  end

  describe "new" do
    it "returns a new Api instance" do
      ManageEngine::AppManager::Api.new("11").should be_instance_of(ManageEngine::AppManager::Api::Version11)
    end

    it "raises an error for an unknown version" do
      expect{ ManageEngine::AppManager::Api.new("X") }.to raise_error
    end
  end
end
```
assistant