public void MapModelToEntity()
        {
            var mapper = new DALVehCapabilityMapper();
            ApiVehCapabilityServerRequestModel model = new ApiVehCapabilityServerRequestModel();

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

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

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

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

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

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