I have recently tried to to implement unit tests on a Java Web Application my project is built on MVC design architecture and uses Spring & JPA Hibernate and JSF here is a package tree
So do I need to write a unit test for the following classes :
If yes so I wonder how testing a class like
User.java just has some properties with setters and getters would be
If no so what the rule then ?