public void MapBOToModel()
        {
            var mapper           = new BOLPostHistoryTypeMapper();
            BOPostHistoryType bo = new BOPostHistoryType();

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

            response.Id.Should().Be(1);
            response.Type.Should().Be("A");
        }
        public void MapBOToEF()
        {
            var mapper = new DALPostHistoryTypeMapper();
            var bo     = new BOPostHistoryType();

            bo.SetProperties(1, "A");

            PostHistoryType response = mapper.MapBOToEF(bo);

            response.Id.Should().Be(1);
            response.Type.Should().Be("A");
        }
        public void MapBOToModelList()
        {
            var mapper           = new BOLPostHistoryTypeMapper();
            BOPostHistoryType bo = new BOPostHistoryType();

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

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