public void MapBOToModel()
        {
            var            mapper = new BOLTicketStatusMapper();
            BOTicketStatus bo     = new BOTicketStatus();

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

            response.Id.Should().Be(1);
            response.Name.Should().Be("A");
        }
        public void MapBOToEF()
        {
            var mapper = new DALTicketStatusMapper();
            var bo     = new BOTicketStatus();

            bo.SetProperties(1, "A");

            TicketStatus response = mapper.MapBOToEF(bo);

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

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

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