private void isValid(QueryResultType result, String name, String value) {
assertTrue(result.getName().equals(name));
assertTrue(result.getValue().equals(value));
Calendar now = Calendar.getInstance();
Calendar then = result.getTime();
assertTrue("Time check failed. Result time = " + then + ", current time = " + now, then.before(now));
assertTrue(result.getQueryType().getNamespaceURI().equals("urn:QueryType"));
assertTrue(result.getQueryType().getLocalPart().equals("BookQuery"));
}
private void addDynamicTypeMappings(AxisEngine engine) throws Exception {