As one can see the contents of byte array are the same. Also I am using the any() matcher so it should not matter if the contents are the same at the first place.
It's expected behavior. All literal arguments are checked by equals. It seems that both ByteArray and UUID have default equals (by reference). For arrays it's a known behavior and mokkery provides a matcher contentEq. For UUID, override equals or use custom matcher e.g. matching.
Hello! I've found an issue with verifying the objects when the contents are the same but instances are not. Here is the error message:
As one can see the contents of byte array are the same. Also I am using the
any()
matcher so it should not matter if the contents are the same at the first place.The minimal reproducible example is attached. multiplatform-library-template.zip Tested on Mac with apple chip and on windows