sonar bug, Change the assertion arguments to not compare a primitive value with null