tests/testthat/test_entity.R

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

context("Test Entity")

model.instance <- Entity$new()

test_that("name", {
  # tests for the property `name` (character)
  # The name of the entity

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

test_that("entityType", {
  # tests for the property `entityType` (character)
  # The type of the entity

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

test_that("attributes", {
  # tests for the property `attributes` (map(object))
  # Map[String,Attribute]

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