expected <- eval(parse(text="structure(list(names = character(0), arguments = structure(\"object\", simpleOnly = TRUE), signatures = list(), generic = structure(function (object) standardGeneric(\"show\"), generic = structure(\"show\", package = \"methods\"), package = \"methods\", group = list(), valueClass = character(0), signature = structure(\"object\", simpleOnly = TRUE), default = structure(function (object) showDefault(object, FALSE), target = structure(\"ANY\", class = structure(\"signature\", package = \"methods\"), .Names = \"object\", package = \"methods\"), defined = structure(\"ANY\", class = structure(\"signature\", package = \"methods\"), .Names = \"object\", package = \"methods\"), generic = structure(\"show\", package = \"methods\"), class = structure(\"derivedDefaultMethod\", package = \"methods\")), skeleton = quote((function (object) showDefault(object, FALSE))(object)), class = structure(\"standardGeneric\", package = \"methods\")), class = structure(\"listOfMethods\", package = \"methods\")), .Names = c(\"names\", \"arguments\", \"signatures\", \"generic\", \"class\"))"));       
test(id=0, code={       
argv <- eval(parse(text="list(structure(list(), .Names = character(0), arguments = structure(\"object\", simpleOnly = TRUE), signatures = list(), generic = structure(function (object) standardGeneric(\"show\"), generic = structure(\"show\", package = \"methods\"), package = \"methods\", group = list(), valueClass = character(0), signature = structure(\"object\", simpleOnly = TRUE), default = structure(function (object) showDefault(object, FALSE), target = structure(\"ANY\", class = structure(\"signature\", package = \"methods\"), .Names = \"object\", package = \"methods\"), defined = structure(\"ANY\", class = structure(\"signature\", package = \"methods\"), .Names = \"object\", package = \"methods\"), generic = structure(\"show\", package = \"methods\"), class = structure(\"derivedDefaultMethod\", package = \"methods\")), skeleton = quote((function (object) showDefault(object, FALSE))(object)), class = structure(\"standardGeneric\", package = \"methods\")), class = structure(\"listOfMethods\", package = \"methods\")))"));       
do.call(`attributes`, argv);       
}, o=expected);       

