vendredi 8 juillet 2016

JUnit Assert#assertSame equivalent in Hamcrest

Is there an equivalent in hamcrest library for JUnit's Assert#assertSame? If yes, what is it? ATM I can only think of Hamcrest#sameInstance but I am not quite sure this method is the right one to use.

Aucun commentaire:

Enregistrer un commentaire