Am 09.10.2009 11:30, Eamonn McManus schrieb:
Joseph D. Darcy wrote:
> What are scenarios where this method would be used?

I use a similar method fairly often in unit tests. JUnit's assertEquals doesn't do the right thing if its arguments happen to be arrays, so I use the following
simple if inefficient implementation:

Don't you know about assertArrayEquals() in JUnit ? It's in version 4.5.

-Ulf


Reply via email to