@Test
public void testFormParamJAXBError() throws ExecutionException, InterruptedException {
initiateWebApplication(FormResourceJAXB.class);
Form form = new Form();
form.param("a", "<x><value>a</value></jaxbBean>");
form.param("b", "<x><value>b1</value></jaxbBean>");
form.param("b", "<x><value>b2</value></jaxbBean>");
final ContainerResponse responseContext = apply(
RequestContextBuilder.from("/", "POST").type(MediaType.APPLICATION_FORM_URLENCODED).entity(form).build()