public void CheckXML_Occupation_For_Footballer_ShouldBe_Accept() { var service = new OccupationService(); var action = service.GetActionForOccupation("Footballer"); action.Wait(); action.Result.ShouldBe(ActionEnum.Accept); }
public void CheckXML_Occupation_For_IT_Contractor_ShouldBe_Accept() { var service = new OccupationService(); var action = service.GetActionForOccupation("IT Contractor"); action.Wait(); action.Result.ShouldBe(ActionEnum.Decline); }
public void CheckXML_Occupation_For_Chef_ShouldBe_Defer() { var service = new OccupationService(); var action = service.GetActionForOccupation("Chef"); action.Wait(); action.Result.ShouldBe(ActionEnum.Refer); }