Rewrites GlimpPluginTest with matchers

Issue #2745
This commit is contained in:
Ryan Haining 2023-09-23 18:06:27 -07:00
parent 0731827b38
commit 9622ece0b2

View file

@ -1,9 +1,9 @@
package info.nightscout.source package info.nightscout.source
import app.aaps.shared.tests.TestBase import app.aaps.shared.tests.TestBase
import com.google.common.truth.Truth.assertThat
import dagger.android.AndroidInjector import dagger.android.AndroidInjector
import info.nightscout.shared.interfaces.ResourceHelper import info.nightscout.shared.interfaces.ResourceHelper
import org.junit.jupiter.api.Assertions
import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Test import org.junit.jupiter.api.Test
import org.mockito.Mock import org.mockito.Mock
@ -20,6 +20,6 @@ class GlimpPluginTest : TestBase() {
} }
@Test fun advancedFilteringSupported() { @Test fun advancedFilteringSupported() {
Assertions.assertEquals(false, glimpPlugin.advancedFilteringSupported()) assertThat(glimpPlugin.advancedFilteringSupported()).isFalse()
} }
} }