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

r.model_test.mustache Maven / Gradle / Ivy

There is a newer version: 7.9.0
Show newest version
# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate

context("Test {{{classname}}}")
{{#models}}
{{#model}}
{{^isEnum}}
{{#vars}}
{{#-first}}

model_instance <- {{{classname}}}$new()
{{/-first}}

test_that("{{{name}}}", {
  # tests for the property `{{{name}}}` ({{dataType}})
  {{#description}}
  # {{.}}
  {{/description}}

  # uncomment below to test the property
  #expect_equal(model.instance$`{{{name}}}`, "EXPECTED_RESULT")
})
{{/vars}}
{{/isEnum}}
{{/model}}
{{/models}}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy