public override void Given()
 {
     ViewModel.CanWithdraw = true;
     mockResponse          = new WithdrawRegistrationResponse
     {
         IsSuccess = false
     };
     RegistrationLoader.WithdrawRegistrationAsync(AoUkprn, ViewModel).Returns(mockResponse);
 }
Esempio n. 2
0
 public override void Given()
 {
     ViewModel.CanWithdraw = true;
     mockResponse          = new WithdrawRegistrationResponse
     {
         ProfileId = 1,
         Uln       = 7654332198,
         IsSuccess = true,
         IsRequestFromProviderAndCorePage = false
     };
     RegistrationLoader.WithdrawRegistrationAsync(AoUkprn, ViewModel).Returns(mockResponse);
 }