Exemple #1
0
 public void Then_GetInProgressEmployerOpportunityCount_Is_Called_Exactly_Once()
 {
     _employerService.Received(1).GetInProgressEmployerOpportunityCountAsync("username");
 }
 public void HandleEmployerUpdatedAsync_Is_Called_Exactly_Once_With_Expected_Payload()
 {
     _employerService
     .Received(1)
     .HandleEmployerUpdatedAsync(Arg.Is <string>(s => s == RequestBody));
 }
 public void Then_GetOpportunityEmployer_Is_Called_Exactly_Once()
 {
     _employerService
     .Received(1)
     .GetOpportunityEmployerAsync(OpportunityId, OpportunityItemId);
 }
Exemple #4
0
 public void Then_Search_Is_Called_Exactly_Once()
 {
     _employerService.Received(1).Search("Employer");
 }
Exemple #5
0
 public void Then_GetOpportunityEmployerDetailAsync_Is_Called_Exactly_Once()
 {
     _employerService
     .Received(1)
     .GetOpportunityEmployerDetailAsync(1, 2);
 }
 public void Then_GetEmployer_Is_Called_Exactly_Once()
 {
     _employerService.Received(1).ValidateCompanyNameAndCrmIdAsync(_employerCrmId, CompanyName);
 }