tests/testthat/test-class-item.R

test_that("Item initialization works", {
  # Item object creation works
  testthat::expect_no_error(Item$new(auth = setup_auth_object))

  # Item object class and methods are set
  checkmate::assert_r6(
    setup_item_object,
    classes = c("Item"),
    public = c("reload")
  )
})

Try the sevenbridges2 package in your browser

Any scripts or data that you put into this service are public.

sevenbridges2 documentation built on July 2, 2024, 9:06 a.m.