lundi 9 novembre 2015

Open pojo testing for equals and hashcode

I am using OpenPojo for testing pojos, i am testing for equals and hashcode too. In package which has pojo classes , some classes have both methods and some classes does not have . So I am getting test error. How can I make test to check hashcode and equals only if they present in class.

Thanks

Aucun commentaire:

Enregistrer un commentaire