public void Remove() { ActInputControlTechnicalStateDto act = SampleEntityDto.CreateActInputControlTechnicalStateDto(); OnTestOfRemove<ActInputControlTechnicalStateDto, ActInputControlTechnicalState>( ref act, service => service.RemoveActInputControlTechnicalState(act)); }
public void Remove() { ApplySolutionByRemarkDto solution = SampleEntityDto.CreateApplySolutionByRemarkDto(); OnTestOfRemove <ApplySolutionByRemarkDto, ApplySolutionByRemark>( ref solution, service => service.RemoveApplySolutionByRemark(solution)); }
public void RemoveActInputControlDestination() { ActInputControlDestinationDto destination = SampleEntityDto.CreateActInputControlDestinationDto(); OnTestOfRemove <ActInputControlDestinationDto, Destination>( ref destination, service => service.RemoveActInputControlDestination(destination)); }
public void RemoveConclusion() { ConclusionDto conclusion = SampleEntityDto.CreateConclusion(); OnTestOfRemove <ConclusionDto, Conclusion>( ref conclusion, service => service.RemoveConclusion(conclusion)); }
public void RemoveQualityStateControlOfTheMakeSignature() { QualityStateControlOfTheMakeSignatureDto destination = SampleEntityDto.CreateQualityStateControlOfTheMakeSignature(); OnTestOfRemove <QualityStateControlOfTheMakeSignatureDto, QualityStateControlOfTheMakeSignature>( ref destination, service => service.RemoveQualityStateControlOfTheMakeSignature(destination)); }
public void Update() { ActInputControlTechnicalStateDto act = SampleEntityDto.CreateActInputControlTechnicalStateDto(); OnTestOfUpdate<ActInputControlTechnicalStateDto, ActInputControlTechnicalState>( ref act, service => { act.Note = "new note!!!!"; service.UpdateActInputControlTechnicalState(act); }, (dto, entity) => dto.Note == entity.Note); }
public void Remove() { SolutionByNoteDto solution = SampleEntityDto.CreateSolutionByNote(); OnTestOfRemove <SolutionByNoteDto, SolutionByNote>( ref solution, service => service.RemoveSolutionByNote(solution)); }
public void RemovePass() { PassDto solution = SampleEntityDto.CreatePassDto(); OnTestOfRemove <PassDto, Pass>( ref solution, service => service.RemovePass(solution)); }
public void RemoveTheMoveAct() { TheMoveActDto theMove = SampleEntityDto.CreateTheMoveAct(); OnTestOfRemove <TheMoveActDto, TheMoveAct>( ref theMove, service => service.RemoveTheMoveAct(theMove)); }
public void RemoveActInputControl() { ActInputControlDto act = SampleEntityDto.CreateActInputControl(); OnTestOfRemove <ActInputControlDto, ActInputControl>( ref act, service => service.RemoveActInputControl(act)); }
public void RemoveCertificatQuality() { CertificateQualityDto solution = SampleEntityDto.CreateCertificateQuality(); OnTestOfRemove <CertificateQualityDto, CertificateQuality>( ref solution, service => service.RemoveCertificatQuality(solution)); }
public void Update() { ApplySolutionByRemarkDto solution = SampleEntityDto.CreateApplySolutionByRemarkDto(); OnTestOfUpdate <ApplySolutionByRemarkDto, ApplySolutionByRemark>( ref solution, service => { solution.CreationDate = new DateTime(2999, 1, 1); service.UpdateApplySolutionByRemark(solution); }, (dto, entity) => dto.CreationDate == entity.CreationDate); }
public void UpdateConclusion() { ConclusionDto conclusion = SampleEntityDto.CreateConclusion(); OnTestOfUpdate <ConclusionDto, Conclusion>( ref conclusion, service => { conclusion.NOTE = "new note!!!!!"; service.UpdateConclusion(conclusion); }, (dto, entity) => dto.NOTE == entity.Note); }
public void Update() { SolutionByNoteDto solution = SampleEntityDto.CreateSolutionByNote(); OnTestOfUpdate <SolutionByNoteDto, SolutionByNote>( ref solution, service => { solution.Note = "new note!!!!"; service.UpdateSolutionByNote(solution); }, (dto, entity) => dto.Note == entity.Note); }
public void UpdateActInputControl() { ActInputControlDto act = SampleEntityDto.CreateActInputControl(); OnTestOfUpdate <ActInputControlDto, ActInputControl>( ref act, service => { service.UpdateActInputControl(act); }, (dto, entity) => dto.Note == entity.Note); }
public void UpdateActInputControlDestination() { ActInputControlDestinationDto destination = SampleEntityDto.CreateActInputControlDestinationDto(); OnTestOfUpdate <ActInputControlDestinationDto, Destination>( ref destination, service => { destination.Note = "new note!!!!!"; service.UpdateActInputControlDestination(destination); }, (dto, entity) => dto.Note == entity.Note); }
public void UpdateQualityStateControlOfTheMake() { QualityStateControlOfTheMakeDto quality = SampleEntityDto.CreateQualityStateControlOfTheMake(); OnTestOfUpdate <QualityStateControlOfTheMakeDto, QualityStateControlOfTheMake>( ref quality, service => { quality.Note = "new note!!!!!"; service.UpdateQualityStateControlOfTheMake(quality); }, (dto, entity) => dto.Note == entity.Note); }
public void UpdateConclusionEssential() { ConclusionEssentialDto conclusion = SampleEntityDto.CreateConclusionEssential(); OnTestOfUpdate <ConclusionEssentialDto, ConclusionEssential>( ref conclusion, service => { conclusion.CreationDate = new DateTime(2099, 1, 2); service.UpdateConclusionEssential(conclusion); }, (dto, entity) => dto.CreationDate == entity.CreationDate); }
public void UpdateCertificatQuality() { CertificateQualityDto solution = SampleEntityDto.CreateCertificateQuality(); OnTestOfUpdate <CertificateQualityDto, CertificateQuality>( ref solution, service => { solution.GOSTCAST = "new note!!!!"; service.UpdateCertificatQuality(solution); }, (dto, entity) => dto.GOSTCAST == entity.GOSTCAST); }
public void UpdatePass() { PassDto solution = SampleEntityDto.CreatePassDto(); OnTestOfUpdate <PassDto, Pass>( ref solution, service => { solution.Note = "new note!!!!"; service.UpdatePass(solution); }, (dto, entity) => dto.Note == entity.Note); }
public void UpdateQualityStateControlOfTheMakeSignature() { QualityStateControlOfTheMakeSignatureDto quality = SampleEntityDto.CreateQualityStateControlOfTheMakeSignature(); OnTestOfUpdate <QualityStateControlOfTheMakeSignatureDto, QualityStateControlOfTheMakeSignature>( ref quality, service => { quality.CreationDate = new DateTime(2013, 1, 1); service.UpdateQualityStateControlOfTheMakeSignature(quality); }, (dto, entity) => dto.CreationDate == entity.CreationDate); }
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 GetCertificatesQuality() { _nhHelper.Create(Mapper.Map <CertificateQuality>(SampleEntityDto.CreateCertificateQuality())); _helper.CreateCoordinatorOfServices(serviceScope => { IPlanReceiptOrderService service = serviceScope.CreatePlanService(); var filterDto = new CertificateQualityDto(); const int skip = 0; const int take = 0; int total; IEnumerable <CertificateQualityDto> result = service.GetCertificatesQualityFilter(filterDto, skip, take, out total); Assert.That(result.Any(), Is.True); Assert.That(total, Is.GreaterThanOrEqualTo(1)); }); }
public void GetActsInputControl() { var rn = _nhHelper.Create <ActInputControl>(Mapper.Map <ActInputControl>(SampleEntityDto.CreateActInputControl()), true); _helper.CreateCoordinatorOfServices(serviceScope => { IPlanReceiptOrderService service = serviceScope.CreatePlanService(); var filterDto = new ActInputControlDto(); filterDto.RN = rn; const int skip = 0; const int take = 0; int total; IEnumerable <ActInputControlDto> result = service.GetActsInputControlFilter(filterDto, skip, take, out total); Assert.That(result, Is.Not.Null); }); }
public void GetCertificateQualityPass() { PassDto passDto = SampleEntityDto.CreatePassDto(); passDto.RN = _nhHelper.Create(Mapper.Map <Pass>(passDto)); _helper.CreateCoordinatorOfServices(serviceScope => { IPlanReceiptOrderService service = serviceScope.CreatePlanService(); var filterDto = new PassDto(); const int skip = 0; const int take = 0; int total; IEnumerable <PassDto> result = service.GetPass(filterDto, skip, take, out total); Assert.That(result.Any(), Is.True); }); }
public void Create() { OnTestOfCreate(service => service.InsertSolutionByNote(SampleEntityDto.CreateSolutionByNote())); }
public void Create() { OnTestOfCreate(service => service.InsertApplySolutionByRemark(SampleEntityDto.CreateApplySolutionByRemarkDto())); }
public void InsertPass() { OnTestOfCreate(service => service.InsertPass(SampleEntityDto.CreatePassDto())); }
public void InsertCertificatQuality() { OnTestOfCreate( service => service.AddCertificatQuality(SampleEntityDto.CreateCertificateQuality())); }
public void Create() { OnTestOfCreate(service => service.InsertActInputControlTechnicalState( SampleEntityDto.CreateActInputControlTechnicalStateDto())); }