}});
// let's make sure our test string is unmarshallable, just for a good sanity check
JAXBContext testcontext = JAXBContext.newInstance(AddNumbers.class);
Unmarshaller testunmarshaller = testcontext.createUnmarshaller();
AddNumbers testresponse =
(AddNumbers)testunmarshaller.unmarshal(new ByteArrayInputStream(xml.getBytes()));
assertEquals("we could not unmarshal the test xml", 1, testresponse.getArg0());
assertTrue(jaxbProviderReader.isReadable(AddNumbers.class, null, null, MediaType.TEXT_XML_TYPE));
ByteArrayInputStream bais = new ByteArrayInputStream(xml.getBytes());
Object obj = jaxbProviderReader.readFrom(AddNumbers.class, null, null, MediaType.TEXT_XML_TYPE, null, bais);
assertTrue(obj instanceof AddNumbers);