ddsoyka
08/31/2017, 5:20 PMassertEquals(byteArray, otherByteArray) and receive the expected result? Or do I need to call Arrays.equals() instead?ilya.gorbunov
09/01/2017, 3:15 PMarray contentEquals otherArray to compare two arrays by content and then assert that the result is true.
Or you can wrap these arrays in lists and compare that lists:
assertEquals(byteArray.asList(), otherByteArray.asList())ddsoyka
09/01/2017, 3:22 PMddsoyka
09/01/2017, 3:22 PMassertTrue(bytes contentEquals image!!.data)ilya.gorbunov
09/01/2017, 3:24 PM