예제 #1
0
        public void RemoveTheMoveAct()
        {
            TheMoveActDto theMove = SampleEntityDto.CreateTheMoveAct();

            OnTestOfRemove <TheMoveActDto, TheMoveAct>(
                ref theMove,
                service => service.RemoveTheMoveAct(theMove));
        }
예제 #2
0
        public void GetTheMoveAct()
        {
            var rn = _nhHelper.Create <TheMoveAct>(Mapper.Map <TheMoveAct>(SampleEntityDto.CreateTheMoveAct()));

            _helper.CreateCoordinatorOfServices(serviceScope =>
            {
                var actm = new TheMoveActDto {
                    RN = rn
                };
                IPlanReceiptOrderService service = serviceScope.CreatePlanService();
                const int skip = 0;
                const int take = 0;
                int total;

                var result = service.GetTheMoveActFilter(actm, skip, take, out total);
                Assert.That(result.Any(), Is.True);
            });
        }
예제 #3
0
 public void InsertTheMoveAct()
 {
     OnTestOfCreate(service =>
                    service.AddTheMoveAct(SampleEntityDto.CreateTheMoveAct()));
 }