tests/testthat/test_method_definition.R

# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate

context("Test MethodDefinition")

model.instance <- MethodDefinition$new()

test_that("namespace", {
  # tests for the property `namespace` (character)
  # Namespace which contains the method.

  # uncomment below to test the property 
  #expect_equal(model.instance$`namespace`, "EXPECTED_RESULT")
})

test_that("name", {
  # tests for the property `name` (character)
  # Name of the method.

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

test_that("synopsis", {
  # tests for the property `synopsis` (character)
  # Synopsis of the method

  # uncomment below to test the property 
  #expect_equal(model.instance$`synopsis`, "EXPECTED_RESULT")
})

test_that("managers", {
  # tests for the property `managers` (array[character])
  # List of Owners.

  # uncomment below to test the property 
  #expect_equal(model.instance$`managers`, "EXPECTED_RESULT")
})

test_that("public", {
  # tests for the property `public` (character)
  # Is this method publicly readable?

  # uncomment below to test the property 
  #expect_equal(model.instance$`public`, "EXPECTED_RESULT")
})

test_that("numConfigurations", {
  # tests for the property `numConfigurations` (integer)
  # count of configurations associated with this method

  # uncomment below to test the property 
  #expect_equal(model.instance$`numConfigurations`, "EXPECTED_RESULT")
})

test_that("numSnapshots", {
  # tests for the property `numSnapshots` (integer)
  # count of snapshots of this method

  # uncomment below to test the property 
  #expect_equal(model.instance$`numSnapshots`, "EXPECTED_RESULT")
})

test_that("entityType", {
  # tests for the property `entityType` (character)
  # always \&quot;Workflow\&quot;.

  # uncomment below to test the property 
  #expect_equal(model.instance$`entityType`, "EXPECTED_RESULT")
})
vjcitn/terraClientR documentation built on Dec. 23, 2021, 4:07 p.m.