assertNotNull(t2.getJaxbContext());
}
public void testSchemaValidationFilterWithCustomResourceResolver()
{
SchemaValidationFilter filter = (SchemaValidationFilter) lookupFilter("SchemaValidationWithResourceResolver");
assertEquals("schema1.xsd", filter.getSchemaLocations());
assertTrue(filter.getResourceResolver() instanceof MockResourceResolver);
assertTrue(filter.getErrorHandler() instanceof MockErrorHandler);
assertFalse(filter.isReturnResult());
}