Beispiel #1
0
        public void CheckXML_Occupation_For_Footballer_ShouldBe_Accept()
        {
            var service = new OccupationService();
            var action  = service.GetActionForOccupation("Footballer");

            action.Wait();
            action.Result.ShouldBe(ActionEnum.Accept);
        }
Beispiel #2
0
        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);
        }
Beispiel #3
0
        public void CheckXML_Occupation_For_Chef_ShouldBe_Defer()
        {
            var service = new OccupationService();
            var action  = service.GetActionForOccupation("Chef");

            action.Wait();
            action.Result.ShouldBe(ActionEnum.Refer);
        }