119120121122123124125126127128129
public void testConstructorDoesNotExist() throws Throwable { XMLUtil util = bootstrapXML(false); try { util.validate(); fail("Should not be valid!"); } catch (IllegalStateException expected) { }
168169170171172173174175176177178
5152535455565758596061
protected Object getPlainValue() throws Throwable { XMLUtil util = bootstrapXML(true); Object bean = util.getBean("SimpleBean"); util.validate(); return bean; } protected Class<? extends Exception> getExceptionClass() {