public void MapModelToBO()
        {
            var mapper = new BOLIncludedColumnTestMapper();
            ApiIncludedColumnTestRequestModel model = new ApiIncludedColumnTestRequestModel();

            model.SetProperties("A", "A");
            BOIncludedColumnTest response = mapper.MapModelToBO(1, model);

            response.Name.Should().Be("A");
            response.Name2.Should().Be("A");
        }
        public void MapBOToModel()
        {
            var mapper = new BOLIncludedColumnTestMapper();
            BOIncludedColumnTest bo = new BOIncludedColumnTest();

            bo.SetProperties(1, "A", "A");
            ApiIncludedColumnTestResponseModel response = mapper.MapBOToModel(bo);

            response.Id.Should().Be(1);
            response.Name.Should().Be("A");
            response.Name2.Should().Be("A");
        }
        public void MapBOToModelList()
        {
            var mapper = new BOLIncludedColumnTestMapper();
            BOIncludedColumnTest bo = new BOIncludedColumnTest();

            bo.SetProperties(1, "A", "A");
            List <ApiIncludedColumnTestResponseModel> response = mapper.MapBOToModel(new List <BOIncludedColumnTest>()
            {
                { bo }
            });

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