MetadataMap<String, Object> m = new MetadataMap<String, Object>();
m.add("Accept", "application/json");
m.add("Accept", "application/xml");
m.add("Vary", "Accept");
Variant json = new Variant(MediaType.APPLICATION_JSON_TYPE, (String)null, null);
Variant xml = new Variant(MediaType.APPLICATION_XML_TYPE, (String)null, null);
checkBuild(Response.ok().variants(json, xml).build(), 200, null, m);
}