Use isNull()

This commit is contained in:
Benoit Marty
2025-11-07 11:05:13 +01:00
parent a7f3fb9c38
commit 3e60c71701

View File

@@ -19,7 +19,7 @@ class AuthenticationExceptionMappingTest {
fun `mapping an exception with no message returns null message`() {
val exception = Exception()
val mappedException = exception.mapAuthenticationException()
assertThat(mappedException.message).isEqualTo(null)
assertThat(mappedException.message).isNull()
}
@Test