mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 01:19:33 +00:00
Use isNull()
This commit is contained in:
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user