My setup:
Netbeans 6.7
Java6
JUnit 4.5 added as the Test libraries
When I try to pass in two class arrays (cast as Object[]) I get the error "cannot find symbol" and my test case will not compile.
I do not have an issue with the other assert statements, and as I said I am using the JUnit 4.5 libraries.
Does anyone have a clue on how to fix this, or observed this quirky behavior?
Netbeans is able to find this function declaration through its autocomplete, but it is unable to find where it is located at, or can navigate to the sources.
Sample code:
CustomObject[] coa = { new CustomObject() ....}
CustomObject[] expected = { new CustomObject() ... }
assertArrayEquals((Object[])coa, (Object[])expected);