public void MapModelToEntity()
        {
            var mapper = new DALSpaceFeatureMapper();
            ApiSpaceFeatureServerRequestModel model = new ApiSpaceFeatureServerRequestModel();

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

            response.Name.Should().Be("A");
        }
        public void MapEntityToModel()
        {
            var          mapper = new DALSpaceFeatureMapper();
            SpaceFeature item   = new SpaceFeature();

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

            response.Id.Should().Be(1);
            response.Name.Should().Be("A");
        }
        public void MapEntityToModelList()
        {
            var          mapper = new DALSpaceFeatureMapper();
            SpaceFeature item   = new SpaceFeature();

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

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