示例#1
0
        private void VerifyShouldWarnMatchesExpected(IEnumerable <IPhoneDeviceInfo> phones, bool alwaysPrompt, string autoSelectPath, bool warnForNewer, bool shouldWarnExpected)
        {
            PhoneSelector_Accessor phoneSelector = GetSelector(phones, alwaysPrompt, autoSelectPath, warnForNewer);

            bool shouldWarnActual = phoneSelector.ShouldWarnAboutLaterSyncedPhone();

            Assert.AreEqual(shouldWarnExpected, shouldWarnActual);
        }