Rewrites NSClientPluginTest with matchers

Issue #2745
This commit is contained in:
Ryan Haining 2023-09-23 18:07:03 -07:00
parent b598856ffd
commit 37ddb7bed5

View file

@ -1,10 +1,10 @@
package info.nightscout.source
import app.aaps.shared.tests.TestBase
import com.google.common.truth.Truth.assertThat
import dagger.android.AndroidInjector
import info.nightscout.interfaces.Config
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
@ -22,6 +22,6 @@ class NSClientPluginTest : TestBase() {
}
@Test fun advancedFilteringSupported() {
Assertions.assertEquals(false, nsClientSourcePlugin.advancedFilteringSupported())
assertThat(nsClientSourcePlugin.advancedFilteringSupported()).isFalse()
}
}
}