I am performing unit testing (JUnit 4) and I am using assertEquals()
, but I can't seem to find assertEquals(boolean, boolean)
.
Please tell me whether this is a generic method i.e. eclipse automatically adjusts to the type of argument being passed. For instance if I select assertEquals(double, double)
and I pass string will it still work? If yes then is it because this is a generic method which operates on a wide range of data types and Eclipse automatically adjusts to the type of argument being passed.
I would also like to know (just for understanding purpose) what the graphical symbols mean inside the code assist window.