Use isNull()
This commit is contained in:
parent
a7f3fb9c38
commit
3e60c71701
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`() {
|
fun `mapping an exception with no message returns null message`() {
|
||||||
val exception = Exception()
|
val exception = Exception()
|
||||||
val mappedException = exception.mapAuthenticationException()
|
val mappedException = exception.mapAuthenticationException()
|
||||||
assertThat(mappedException.message).isEqualTo(null)
|
assertThat(mappedException.message).isNull()
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue