Пример #1
0
        public void SurveyRollbackTest()
        {
            IISDeployer.Create(_conf).InstallRollback();

            _mockedIISManager.Verify(m => m.DeleteSurvey(), Times.Once());
        }
Пример #2
0
        public void SurveyInstallTest()
        {
            IISDeployer.Create(_conf).Install();

            _mockedIISManager.Verify(m => m.CreateSurvey(It.IsAny <string>()), Times.Once());
        }