'assertEquals()' may be 'assertSame()'
assertEquals() calls that can be replaced with an equivalent
assertSame() call. This is possible when the arguments are instances of a
final class that does not override the
Object.equals() method and makes it explicit that the object identity is compared.
After the quick fix is applied:
IntelliJ IDEA 2023.3, Qodana for JVM 2023.3