This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
We need to take care with those mocks. Sometimes they do some mistakes like this. Like said before, it does compile, but will throw a ClassCastException in runtime when trying to compare a String to a Integer. [ July 11, 2008: Message edited by: Raphael Rabadan ]