What is the purpose of assertArrayEquals(“message”, A, B)?
(a) Checks that “message” is in both A and B
(b) Checks that “message” is in A but not B
(c) Checks that “message” is in B but not A
(d) Asserts the equality of the A and B arrays
This question was addressed to me by my college professor while I was bunking the class.
Origin of the question is Exploring Core JUnit in section Exploring Core JUnit of JUnit