tests/testthat/test_pet.R

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

context("Test Pet")

model.instance <- Pet$new()

test_that("id", {
  # tests for the property `id` (integer)

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

test_that("category", {
  # tests for the property `category` (Category)

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

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

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

test_that("photoUrls", {
  # tests for the property `photoUrls` (array[character])

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

test_that("tags", {
  # tests for the property `tags` (array[Tag])

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

test_that("status", {
  # tests for the property `status` (character)
  # pet status in the store

  # uncomment below to test the property
  #expect_equal(model.instance$`status`, "EXPECTED_RESULT")
})
wing328/petstore-r-client documentation built on June 2, 2022, 10:24 a.m.