public void RemoveTheMoveAct()
        {
            TheMoveActDto theMove = SampleEntityDto.CreateTheMoveAct();

            OnTestOfRemove <TheMoveActDto, TheMoveAct>(
                ref theMove,
                service => service.RemoveTheMoveAct(theMove));
        }
        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);
            });
        }
 public void InsertTheMoveAct()
 {
     OnTestOfCreate(service =>
                    service.AddTheMoveAct(SampleEntityDto.CreateTheMoveAct()));
 }