Candidate for Daily WTF

To cry…or laugh…that’s the question…

When I came across the test code above I wondered who on Earth would write such a thing. The answer came shortly after when I had a look at the method it is testing…

The good thing is that they actually wrote a nice and clear JavaDoc explaining their own stupidity…

Leave a Reply

Your email address will not be published. Required fields are marked *