|
|
|
@ -20,6 +20,7 @@ import org.junit.Before
|
|
|
|
|
import org.junit.Test
|
|
|
|
|
import org.junit.runner.RunWith
|
|
|
|
|
import org.mozilla.fenix.ext.components
|
|
|
|
|
import org.mozilla.fenix.ext.settings
|
|
|
|
|
import org.mozilla.fenix.helpers.FenixRobolectricTestRunner
|
|
|
|
|
import org.mozilla.fenix.utils.Settings
|
|
|
|
|
import mozilla.components.browser.toolbar.behavior.ToolbarPosition as MozacToolbarPosition
|
|
|
|
@ -41,6 +42,7 @@ class BrowserToolbarViewTest {
|
|
|
|
|
every { testContext.components.useCases } returns mockk(relaxed = true)
|
|
|
|
|
every { testContext.components.core } returns mockk(relaxed = true)
|
|
|
|
|
every { testContext.components.publicSuffixList } returns PublicSuffixList(testContext)
|
|
|
|
|
every { testContext.settings().showUnifiedSearchFeature } returns false
|
|
|
|
|
|
|
|
|
|
toolbarView = BrowserToolbarView(
|
|
|
|
|
context = testContext,
|
|
|
|
|