package com.peachpasswords.ui.vault import com.peachpasswords.sync.SyncOutcomeReason import org.junit.Assert.assertFalse import org.junit.Assert.assertTrue import org.junit.Test class VaultListSyncAlertTest { @Test fun successful_sync_is_quiet_but_failures_remain_actionable() { assertFalse(shouldShowSyncOutcomeSnackbar(SyncOutcomeReason.COMPLETED_CHANGES)) assertFalse(shouldShowSyncOutcomeSnackbar(SyncOutcomeReason.COMPLETED_NO_CHANGES)) assertTrue(shouldShowSyncOutcomeSnackbar(SyncOutcomeReason.SYNC_TIMEOUT)) } }