diff --git a/app/src/test/java/info/nightscout/androidaps/plugins/configBuilder/ConfigBuilderPluginTest.kt b/app/src/test/java/info/nightscout/androidaps/plugins/configBuilder/ConfigBuilderPluginTest.kt index 2268075891..82c4e31d90 100644 --- a/app/src/test/java/info/nightscout/androidaps/plugins/configBuilder/ConfigBuilderPluginTest.kt +++ b/app/src/test/java/info/nightscout/androidaps/plugins/configBuilder/ConfigBuilderPluginTest.kt @@ -6,7 +6,9 @@ import info.nightscout.androidaps.TestBase import info.nightscout.configuration.configBuilder.ConfigBuilderPlugin import info.nightscout.interfaces.logging.UserEntryLogger import info.nightscout.interfaces.plugin.ActivePlugin +import info.nightscout.interfaces.protection.ProtectionCheck import info.nightscout.interfaces.pump.PumpSync +import info.nightscout.interfaces.ui.UiInteraction import info.nightscout.rx.bus.RxBus import info.nightscout.shared.interfaces.ResourceHelper import info.nightscout.shared.sharedPreferences.SP @@ -21,6 +23,8 @@ class ConfigBuilderPluginTest : TestBase() { @Mock lateinit var activePlugin: ActivePlugin @Mock lateinit var uel: UserEntryLogger @Mock lateinit var pumpSync: PumpSync + @Mock lateinit var protectionCheck: ProtectionCheck + @Mock lateinit var uiInteraction: UiInteraction private lateinit var configBuilderPlugin: ConfigBuilderPlugin @@ -33,6 +37,6 @@ class ConfigBuilderPluginTest : TestBase() { @BeforeEach fun prepareMock() { - configBuilderPlugin = ConfigBuilderPlugin(injector, aapsLogger, rh, sp, RxBus(aapsSchedulers, aapsLogger), activePlugin, uel, pumpSync) + configBuilderPlugin = ConfigBuilderPlugin(injector, aapsLogger, rh, sp, RxBus(aapsSchedulers, aapsLogger), activePlugin, uel, pumpSync, protectionCheck, uiInteraction) } } \ No newline at end of file