public void MapModelToEntity()
        {
            var mapper = new DALPipelineStepNoteMapper();
            ApiPipelineStepNoteServerRequestModel model = new ApiPipelineStepNoteServerRequestModel();

            model.SetProperties(1, "A", 1);
            PipelineStepNote response = mapper.MapModelToEntity(1, model);

            response.EmployeeId.Should().Be(1);
            response.Note.Should().Be("A");
            response.PipelineStepId.Should().Be(1);
        }
        public void MapEntityToModelList()
        {
            var mapper            = new DALPipelineStepNoteMapper();
            PipelineStepNote item = new PipelineStepNote();

            item.SetProperties(1, 1, "A", 1);
            List <ApiPipelineStepNoteServerResponseModel> response = mapper.MapEntityToModel(new List <PipelineStepNote>()
            {
                { item }
            });

            response.Count.Should().Be(1);
        }
        public void MapEntityToModel()
        {
            var mapper            = new DALPipelineStepNoteMapper();
            PipelineStepNote item = new PipelineStepNote();

            item.SetProperties(1, 1, "A", 1);
            ApiPipelineStepNoteServerResponseModel response = mapper.MapEntityToModel(item);

            response.EmployeeId.Should().Be(1);
            response.Id.Should().Be(1);
            response.Note.Should().Be("A");
            response.PipelineStepId.Should().Be(1);
        }