@Test
public void parseDeliverResponse0() throws Exception {

    StringBuilder string0 = new StringBuilder(200)
        .append("<?xml version=\"1.0\"?>\n")
        .append("<operation type=\"deliver\">\n")
        .append(" <deliverResponse>\n")
        .append("   <error code=\"0\" message=\"OK\"/>\n")
        .append(" </deliverResponse>\n")
        .append("</operation>\n")
        .append("");
    ByteArrayInputStream is = new ByteArrayInputStream(string0.toString().getBytes());
    SxmpParser parser = new SxmpParser();
    Operation operation = parser.parse(is);
    DeliverResponse deliverResponse = (DeliverResponse)operation;
    Assert.assertEquals(new Integer(0), deliverResponse.getErrorCode());
    Assert.assertEquals("OK", deliverResponse.getErrorMessage());
}