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_Chef_ShouldBe_Defer() { var service = new OccupationService(); var action = service.GetActionForOccupation("Chef"); action.Wait(); action.Result.ShouldBe(ActionEnum.Refer); }
public MemberController() { _occupationService = new OccupationService(); _groupService = new GroupService(); _accountheadservice = new AccountHeadService(); _memberservice = new MemberService(); _memberKycService = new MemberKycService(); _referenceValueService = new ReferenceValueService(); _panchayatService = new PanchayatService(); }
public OccupationServcieTest() { _occupationRepository = new Mock <IOccupationRepository>(); _occupationService = new OccupationService(_occupationRepository.Object); }
public void OccupationService_Setup() { _ratingDetailService = new Mock <IRatingDetailService>(); _occupationService = new OccupationService(_ratingDetailService.Object); }
public OccupationController() { _OccupationService = new OccupationService(); _CommonService = new CommonService(); }