public void Convert(int listings, int unitPrice, int quantity)
        {
            var converter = new OfferConverter();
            var value     = new ListingOfferDataContract
            {
                Listings  = listings,
                UnitPrice = unitPrice,
                Quantity  = quantity
            };

            var result = converter.Convert(value, null);

            Assert.NotNull(result);
            Assert.Equal(listings, result.Listings);
            Assert.Equal(unitPrice, result.UnitPrice);
            Assert.Equal(quantity, result.Quantity);
        }
        public void Convert(int listings, int unitPrice, int quantity)
        {
            var converter = new OfferConverter();
            var value = new ListingOfferDataContract
            {
                Listings = listings, 
                UnitPrice = unitPrice, 
                Quantity = quantity
            };

            var result = converter.Convert(value, null);

            Assert.NotNull(result);
            Assert.Equal(listings, result.Listings);
            Assert.Equal(unitPrice, result.UnitPrice);
            Assert.Equal(quantity, result.Quantity);
        }