/**
* tests that a web fault without both construtors doesn't have an explicit bean.
*/
public void testAlmostExplicitWebFault2() throws Exception {
FreemarkerModel.set(new EnunciateFreemarkerModel());
try {
new WebFault((ClassDeclaration) getDeclaration("org.codehaus.enunciate.samples.services.AlmostExplicitFaultBeanTwo"));
fail("A web fault without both constructors shouldn't have an explicit fault bean.");
}
catch (ValidationException e) {