public void Test_GetHrEmpByUId()
        {
            List <string> uid = new List <string> {
                ""
            };

            _targetObj.GetHrEmpByUId(uid);
        }
        public void Check_Has_AppUserGroup_Insert_To_WisAppUserList()
        {
            //Arrange
            TResult <ResponseAppNameCreate> expectedResponse = new TResult <ResponseAppNameCreate>
            {
                Data = new ResponseAppNameCreate
                {
                    IsSuccessful = true,
                    AppID        = "4beedc78-0d31-496e-bb9c-81a79c9c6bc6"
                },
                Rtncode = FaultInfoRcConstants.OK,
                RtnMsg  = "Test AppName"
            };

            _request.IsTop        = false;
            _request.AppUserGroup = "1,2";

            _appListService.AppNameIsExisted(_request.AppName).Returns(false);
            _appListService.GetIsTopAppList().Returns(_inSideOrOutSideApp);

            _appListService.GetDefineGroup(Arg.Any <List <string> >()).Returns(_wisDefineGroups);
            _appListService.InsertAppName(Arg.Any <WisAppList>(), Arg.Any <List <WisAppUserList> >()).Returns(true);
            _appListService.GetHrEmpByLocation(Arg.Any <List <string> >()).Returns(new List <MdsHrEmpData>());
            _appListService.GetHrEmpByUId(Arg.Any <List <string> >()).Returns(new List <MdsHrEmpData>());
            _appListService.GetMdsAdUser(Arg.Any <List <string> >()).Returns(new List <MdsAdUserData>());

            //Act
            TResult <ResponseAppNameCreate> actualResponse = _targetObj.InsertAppName(_request);

            //Assert
            Assert.AreEqual(expectedResponse.Rtncode, actualResponse.Rtncode);
            Assert.AreEqual(expectedResponse.RtnMsg, actualResponse.RtnMsg);
            Assert.AreEqual(expectedResponse.Data.IsSuccessful, actualResponse.Data.IsSuccessful);
            _appListService.Received(1).GetHrEmpByLocation(Arg.Any <List <string> >());
            _appListService.Received(1).GetHrEmpByUId(Arg.Any <List <string> >());
            _appListService.Received(1).GetMdsAdUser(Arg.Any <List <string> >());
        }