public void MapModelToEntity()
        {
            var mapper = new DALCallStatusMapper();
            ApiCallStatusServerRequestModel model = new ApiCallStatusServerRequestModel();

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

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

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

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

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

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