This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Testing and the fly likes assertNotSame pRmeters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "assertNotSame pRmeters" Watch "assertNotSame pRmeters" New topic

assertNotSame pRmeters

sam liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1071
this example i got from internet.
it shows assertNotSame method takes one time two parameters and one time three parameters.
why is that
Ilja Preuss

Joined: Jul 11, 2001
Posts: 14112
Did you take a look at the JavaDoc?,%20java.lang.Object,%20java.lang.Object)

The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
I agree. Here's the link:
subject: assertNotSame pRmeters
Similar Threads
Assertion Exception handling
Exception problem.
Sample Java Program and codes for TestCase
Basic doubt in Assertion (from K&B book)