tests/testthat/test_entity_copy_response.R

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

context("Test EntityCopyResponse")

model.instance <- EntityCopyResponse$new()

test_that("entitiesCopied", {
  # tests for the property `entitiesCopied` (array[AttributeEntityReference])
  # the entities that were successfully copied into the workspace

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

test_that("hardConflicts", {
  # tests for the property `hardConflicts` (array[EntityHardConflict])
  # these entities already exist in your workspace

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

test_that("softConflicts", {
  # tests for the property `softConflicts` (array[EntitySoftConflict])
  # the conflicts within your entity subtrees. note that this will be empty if there are hard conflicts

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