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_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();
 }
Beispiel #4
0
 public OccupationServcieTest()
 {
     _occupationRepository = new Mock <IOccupationRepository>();
     _occupationService    = new OccupationService(_occupationRepository.Object);
 }
Beispiel #5
0
 public void OccupationService_Setup()
 {
     _ratingDetailService = new Mock <IRatingDetailService>();
     _occupationService   = new OccupationService(_ratingDetailService.Object);
 }
 public OccupationController()
 {
     _OccupationService = new OccupationService();
     _CommonService     = new CommonService();
 }