Use isNull()
This commit is contained in:
parent
70e3e768aa
commit
cc01e19bf7
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue