Rewrites MM640GPluginTest with matchers

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

View file

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