New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actual value in byte array failure is not helpful #29

henri-tremblay opened this Issue Jun 3, 2015 · 0 comments


None yet
1 participant

henri-tremblay commented Jun 3, 2015

Migrated from: CodeHaus issue EASYMOCK-18
Original reporter: Henri Tremblay

When using EasyMock.aryEq("TestValue2".getBytes()) the value that was passed in did not match and the Actual that is printed out is the byte array reference. I would expect that the actual be printed out in the same format that the expected is printed out in a list format.

Unexpected method call create2([B@117a8bd):
create2([84, 101, 115, 116, 86, 97, 108, 117, 101, 50]): expected: 1, actual: 0

@henri-tremblay henri-tremblay self-assigned this Jun 3, 2015

@henri-tremblay henri-tremblay added this to the 2.5 milestone Jun 3, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment