public void MapModelToEntity()
        {
            var mapper = new DALPipelineStepDestinationMapper();
            ApiPipelineStepDestinationServerRequestModel model = new ApiPipelineStepDestinationServerRequestModel();

            model.SetProperties(1, 1);
            PipelineStepDestination response = mapper.MapModelToEntity(1, model);

            response.DestinationId.Should().Be(1);
            response.PipelineStepId.Should().Be(1);
        }
        public void MapEntityToModel()
        {
            var mapper = new DALPipelineStepDestinationMapper();
            PipelineStepDestination item = new PipelineStepDestination();

            item.SetProperties(1, 1, 1);
            ApiPipelineStepDestinationServerResponseModel response = mapper.MapEntityToModel(item);

            response.DestinationId.Should().Be(1);
            response.Id.Should().Be(1);
            response.PipelineStepId.Should().Be(1);
        }
        public void MapEntityToModelList()
        {
            var mapper = new DALPipelineStepDestinationMapper();
            PipelineStepDestination item = new PipelineStepDestination();

            item.SetProperties(1, 1, 1);
            List <ApiPipelineStepDestinationServerResponseModel> response = mapper.MapEntityToModel(new List <PipelineStepDestination>()
            {
                { item }
            });

            response.Count.Should().Be(1);
        }