(assertEquals calls the object's equals method)