You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: android/app/src/test/kotlin/net/mullvad/mullvadvpn/ui/serviceconnection/ServiceConnectionDeviceDataSourceTest.kt
+2-2
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ class ServiceConnectionDeviceDataSourceTest {
47
47
}
48
48
49
49
@Test
50
-
funtest_get_devices_list() {
50
+
fun`get device should work`() {
51
51
// Arrange
52
52
every { connection.send(any()) } just Runs
53
53
every { mockedDispatchingHandler.registerHandler(any<KClass<Event>>(), any()) } just Runs
@@ -58,7 +58,7 @@ class ServiceConnectionDeviceDataSourceTest {
58
58
}
59
59
60
60
@Test
61
-
funtest_catch_exception_on_devices_list() {
61
+
fun`get device should catch DeadObjectException`() {
62
62
// Arrange
63
63
every { connection.send(any()) } throws DeadObjectException()
64
64
every { mockedDispatchingHandler.registerHandler(any<KClass<Event>>(), any()) } just Runs
0 commit comments