{{> partial_header}}
--[[
Unit tests for {{{packageName}}}.api.{{{classname}}}
Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
Please update as you see appropriate
]]
{{#operations}}
describe("{{classname}}", function()
  local {{{packageName}}}_{{{classname}}} = require "{{{packageName}}}.api.{{{classname}}}"
{{#operation}}
  {{#models}}
  [[-- import all models --]]
  {{#model}}
  local {{{packageName}}}_{{{classname}}} = require "{{{packageName}}}.model.{{{classname}}}"
  {{/model}}
  {{/models}}
  -- unit tests for {{operationId}}
  describe("{{{operationId}}} test", function()
    it("should work", function()
      -- TODO assertion here: http://olivinelabs.com/busted/#asserts
    end)
  end)

{{/operation}}
end)
{{/operations}}
