You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that my JUnit tests using Mockito fails because the Criteria does not fully support equals/hashcode semantic.
In the tests below, the test CriteriaTests#testEqualsCriteriaSameInstance is success (because there is it the same instance) while the other one CriteriaTests#testEqualsCriteriaDifferentInstances fails due to a leak on equals/hashcode sementic (because equals/hashcode sementic is not implemented).
So using Mockito on a repository with Criteria fails when I use a Criteria (like R2dbcEntityTemplate). Could you, please review the code to correct this issue ?
It seems that my JUnit tests using Mockito fails because the Criteria does not fully support equals/hashcode semantic.
In the tests below, the test CriteriaTests#testEqualsCriteriaSameInstance is success (because there is it the same instance) while the other one CriteriaTests#testEqualsCriteriaDifferentInstances fails due to a leak on equals/hashcode sementic (because equals/hashcode sementic is not implemented).
So using Mockito on a repository with Criteria fails when I use a Criteria (like R2dbcEntityTemplate). Could you, please review the code to correct this issue ?
Please find below the JUnit test's results:
The text was updated successfully, but these errors were encountered: