public When_Qualification_RemoveQualification_Is_Called() { var qualificationService = Substitute.For <IQualificationService>(); var providerVenueService = Substitute.For <IProviderVenueService>(); _providerQualificationService = Substitute.For <IProviderQualificationService>(); var routePathService = Substitute.For <IRoutePathService>(); var qualificationController = new QualificationController(providerVenueService, qualificationService, _providerQualificationService, routePathService); var controllerWithClaims = new ClaimsBuilder <QualificationController>(qualificationController) .AddUserName("username") .AddEmail("*****@*****.**") .Build(); _result = controllerWithClaims.RemoveQualificationAsync(1, 2).GetAwaiter().GetResult(); }