@Test
public void testWriteWireFormat() throws Exception {
XMLStreamReader reader = inputFactory.createXMLStreamReader(new StringReader(BINDING_WITH_WIRE_FORMAT));
RESTBinding binding = (RESTBinding)staxProcessor.read(reader, context);
Assert.assertNotNull(binding);
reader.close();
ByteArrayOutputStream bos = new ByteArrayOutputStream();
staxProcessor.write(binding, bos, context);