context("methods") test_that("method registration occurs correctly", { library(XML) xdoc <- xmlParse("") library(xml2) x2doc <- read_xml("") results <- querySelector(xdoc, "circle") results <- querySelector(x2doc, "circle") })