I work on a project where we have to create unit tests for all of our simple beans (POJOs). Is there any point to creating a unit test for POJOs if all they consist of is gette
MeanBean library provides an API to test POJOs. For example following snippet test whether Emplooyee pojo. Demo Application link.
BeanTester beanTester = new BeanTester(); beanTester.testBean(Employee.class);