anchor.diff:      javax.xml.bind.JAXB.marshal( object, xml );
       return xml.toString();
     }
  +<% end -%>
   }
  
positive.code: <% end -%>
    }
  
  <%      method.exceptions.each do |exception| -%>
    @org.testng.annotations.Test
    public void call<%= method_name_prefix %>Error<%= exception.name %>()
      throws Exception
  
negative.code:     javax.xml.bind.JAXB.marshal( from, xml );
      return javax.xml.bind.JAXB.unmarshal( new java.io.StringReader( xml.toString() ), toType );
    }
  <% if requires_asXml_method -%>
  
    private String asXml( final Object object )
    {
  