context("Cache")
test_that("Cache interface doesn't implement any public functions", {
cache <- Cache$new()
expect_error(cache$set(1, 1))
expect_error(cache$get(1))
expect_error(cache$delete(1))
expect_error(cache$exists(1))
expect_error(cache$trim())
expect_error(cache$destroy())
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.