File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
features/login/impl/src/test/kotlin/io/element/android/features/login/impl/screens/onboarding Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2025 New Vector Ltd.
3
+ *
4
+ * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
5
+ * Please see LICENSE files in the repository root for full details.
6
+ */
7
+
8
+ package io.element.android.features.login.impl.screens.onboarding
9
+
10
+ import androidx.test.ext.junit.runners.AndroidJUnit4
11
+ import androidx.test.platform.app.InstrumentationRegistry
12
+ import com.google.common.truth.Truth.assertThat
13
+ import org.junit.Test
14
+ import org.junit.runner.RunWith
15
+
16
+ @RunWith(AndroidJUnit4 ::class )
17
+ class DefaultOnBoardingLogoResIdProviderTest {
18
+ @Test
19
+ fun `when onboarding_logo resource exists, return its resId` () {
20
+ val context = InstrumentationRegistry .getInstrumentation().context
21
+ val sut = DefaultOnBoardingLogoResIdProvider (context)
22
+ val result = sut.get()
23
+ assertThat(result).isNull()
24
+ }
25
+ }
You can’t perform that action at this time.
0 commit comments