junit4
junit4 copied to clipboard
Make Assert failNotEquals public
I had to implement a custom equal function but I cannot report the failure with the existing functionality of Assert class. I wanted to reuse the function Assert.failNotEquals but it's private, not sure why. Can you make it public?
FWIW JUnit Jupiter provides AssertionFailureBuilder for this use case.