All Downloads are FREE. Search and download functionalities are using the official Maven repository.

kotlin-client.model_test.mustache Maven / Gradle / Ivy

There is a newer version: 7.9.0
Show newest version
{{>licenseInfo}}
package {{modelPackage}}

import io.kotlintest.shouldBe
import io.kotlintest.specs.ShouldSpec

import {{modelPackage}}.{{{classname}}}
{{#imports}}import {{import}}
{{/imports}}

{{#models}}
{{#model}}
class {{{classname}}}Test : ShouldSpec() {
    init {
        // uncomment below to create an instance of {{{classname}}}
        //val modelInstance = {{{classname}}}()

        {{#vars}}
        // to test the property `{{{name}}}`{{#description}} - {{{.}}}{{/description}}
        should("test {{{name}}}") {
            // uncomment below to test the property
            //modelInstance.{{{name}}} shouldBe ("TODO")
        }

        {{/vars}}
    }
}
{{/model}}
{{/models}}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy