Home

Add a comment

 

Re: 100% code coverage, Hibernate Validator and Design by Contract

Great Article! Found one issue: Using Hibernate Validator: 4.3.0 Final
public interface IApplication {

void getTest(@NotNull List<String> someList);
}

}
===============================
@AutoValidator
//Same as the MethodValidatorInterceptor in the blog example just given a different 
name
public class ApplicationFacadeImpl implements IApplicationFacade {

	public void getTest(List<String> someList) {
		log.debug("Entered the method");
		
	}

}
================================
	@Test
	public void getTest(){
		List<String> app = null;
		appSvc.getTest(app);
	}
Does not seem to work.

Re: 100% code coverage, Hibernate Validator and Design by Contract


Title
Body
HTML : b, strong, i, em, blockquote, br, p, pre, a href="", ul, ol, li, sub, sup
Name
E-mail address
Website
Remember me Yes  No 

E-mail addresses are not publicly displayed, so please only leave your e-mail address if you would like to be notified when new comments are added to this blog entry (you can opt-out later).