/**
* Make sure that the validation methods are really called by testing a negative case.
*/
@Bug(3382)
public void testNegative() throws Exception {
DescriptorImpl d = new DescriptorImpl();
Publisher.all().add(d);
try {
FreeStyleProject p = createFreeStyleProject();
p.getPublishersList().add(new BrokenFormValidatorBuilder());
new WebClient().getPage(p,"configure");