Пример #1
0
        public override void Given()
        {
            MockResult = null;
            var cacheResult = new ReregisterViewModel();

            CacheService.GetAsync <ReregisterViewModel>(CacheKey).Returns(cacheResult);
            RegistrationLoader.ReregistrationAsync(AoUkprn, ViewModel).Returns(MockResult);
        }
Пример #2
0
        public override void Given()
        {
            MockResult.IsSelectedCoreSameAsWithdrawn = true;

            var cacheResult = new ReregisterViewModel();

            CacheService.GetAsync <ReregisterViewModel>(CacheKey).Returns(cacheResult);
            RegistrationLoader.ReregistrationAsync(AoUkprn, ViewModel).Returns(MockResult);
        }