public override void Given() { ViewModel = new ChangeSpecialismViewModel { SelectedSpecialismCode = "SPL12345", PathwaySpecialisms = new PathwaySpecialismsViewModel { Specialisms = new List <SpecialismDetailsViewModel> { new SpecialismDetailsViewModel { Id = 11, Code = "SPL12345" }, new SpecialismDetailsViewModel { Id = 22, Code = "SPL12346" }, new SpecialismDetailsViewModel { Id = 33, Code = "SPL12347" }, } } }; mockResponse = new ManageRegistrationResponse { IsModified = true, IsSuccess = true }; RegistrationLoader.ProcessSpecialismChangeAsync(AoUkprn, ViewModel).Returns(mockResponse); }
public override void Given() { mockResponse = new ManageRegistrationResponse { IsModified = false, }; RegistrationLoader.ProcessSpecialismChangeAsync(AoUkprn, ViewModel).Returns(mockResponse); }
public override void Given() { RegistrationLoader.ProcessSpecialismChangeAsync(AoUkprn, ViewModel).Returns(mockResponse); }