Ad
  • Custom User Avatar

    Actually assertEquals() should check if two arrays point to the same instance of an object, so it should not be the right thing to use here.
    Like Flash said assertArrayEquals() should be used, but I read in the documentation for Java Test framework here that String Arrays are not supported.