I have a lot of basic beans with just getters and setters. Even though you can generate them within your IDE, later manual editing will eventually take place and are therefor important to test. Testing these beans take a lot of time and are often skipped because it is boring to do and maintain. That's why I created BeanUnit.
BeanUnit is an extension to JUnit and assumes you use Junit 4.4. Under the covers it uses some xulux components (mainly the Bean Xulux DataProvider) to do the "magic".
AssertBean(Classname);
If the bean tests the following behaviour of your beans :
If your bean / object has these conventions, your code coverage will be 100%. If they are not according to these conventions, the test will fail forcing you to write a test for the method by hand, or use the BeanUnitConfiguration.
The BeanUnitConfiguration is used for those beans/objects that don't follow the default BeanUnit use case. My vision is that everything that is non default behaviour should be specifically typed, so when the object behaviour changes, the test will fail.
If you have a non default constructor on your bean you can use BeanConfiguration.nonDefaultConstructor(ObjectToUseInConstructor)