This method is calling the String.format(newErrorMessage, args) even if args is empty and newErrorMessage contains '%' which makes assertion fails (See JUnit stacktrace bellow). In my case, ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results