# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
context("Test ErrorReport")
model.instance <- ErrorReport$new()
test_that("source", {
# tests for the property `source` (character)
# service causing error
# uncomment below to test the property
#expect_equal(model.instance$`source`, "EXPECTED_RESULT")
})
test_that("message", {
# tests for the property `message` (character)
# what went wrong
# uncomment below to test the property
#expect_equal(model.instance$`message`, "EXPECTED_RESULT")
})
test_that("statusCode", {
# tests for the property `statusCode` (integer)
# HTTP status code
# uncomment below to test the property
#expect_equal(model.instance$`statusCode`, "EXPECTED_RESULT")
})
test_that("causes", {
# tests for the property `causes` (array[ErrorReport])
# errors triggering this one
# uncomment below to test the property
#expect_equal(model.instance$`causes`, "EXPECTED_RESULT")
})
test_that("stackTrace", {
# tests for the property `stackTrace` (array[StackTraceElement])
# stack trace
# uncomment below to test the property
#expect_equal(model.instance$`stackTrace`, "EXPECTED_RESULT")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.