Example #1
0
        public void MapServerResponseToRequest()
        {
            var mapper = new ApiCountryRequirementServerModelMapper();
            var model  = new ApiCountryRequirementServerResponseModel();

            model.SetProperties(1, 1, "A");
            ApiCountryRequirementServerRequestModel response = mapper.MapServerResponseToRequest(model);

            response.Should().NotBeNull();
            response.CountryId.Should().Be(1);
            response.Details.Should().Be("A");
        }