I have a two string array in java where I am comparing the whole array using assertArrayEquals.
example:
Expected:[CTSCAT, CTSSCH, PERSONS, ID, CTSCAT, CTSSCH, ORDERS, PERSONID, 1, 3, 3, FK_PERSONORDER, PK_PERSON, 7]
Actual:[CTSCAT, CTSSCH, PERSONS, ID, CTSCAT, CTSSCH, ORDERS, PERSONID, 1, 3, 3, FK_PERSONORDER, PK_PERSON, 7]
But know I want to compare some element of array instead of entire array. Like in same example I only want to check first two element.