lundi 22 décembre 2014

JUnit Test for a Generic class

How can I test a generic class, like for example Stack.class from java.utils with junit?(http://ift.tt/1zVCwyD) Is it enough to test it only for one Type, like Integer, because the class treats integers of 2 different Types the same way?


Aucun commentaire:

Enregistrer un commentaire