Skip to content

Commit

Permalink
Update JetpackMigrationViewModelTest.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
ravishanker committed Nov 25, 2022
1 parent 60efdba commit 4a06cc9
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,22 @@ import org.wordpress.android.ui.prefs.AppPrefsWrapper
import org.wordpress.android.ui.utils.UiString.UiStringRes
import org.wordpress.android.util.GravatarUtilsWrapper
import org.wordpress.android.util.SiteUtilsWrapper
import org.wordpress.android.util.config.PreventDuplicateNotifsFeatureConfig
import org.wordpress.android.viewmodel.ContextProvider

@RunWith(MockitoJUnitRunner::class)
class JetpackMigrationViewModelTest : BaseUnitTest() {
private val siteUtilsWrapper: SiteUtilsWrapper = mock()
private val gravatarUtilsWrapper: GravatarUtilsWrapper = mock()
private val appPrefsWrapper: AppPrefsWrapper = mock()
private val localMigrationOrchestrator: LocalMigrationOrchestrator = mock()
private val preventDuplicateNotifsFeatureConfig: PreventDuplicateNotifsFeatureConfig = mock()
private val contextProvider: ContextProvider = mock()
private val classToTest = JetpackMigrationViewModel(
siteUtilsWrapper = siteUtilsWrapper,
gravatarUtilsWrapper = gravatarUtilsWrapper,
contextProvider = contextProvider,
preventDuplicateNotifsFeatureConfig = preventDuplicateNotifsFeatureConfig,
appPrefsWrapper = appPrefsWrapper,
localMigrationOrchestrator = localMigrationOrchestrator,
)
Expand Down

0 comments on commit 4a06cc9

Please sign in to comment.