public void TestGetMatcherByName()
        {
            var actual = GenericMatcherUtils.GetMatcherByName("ContraryCountryGetawaysMatcher");
            var expected = new ContraryCountryGetawaysMatcher();

            Assert.AreEqual(expected.GetType().FullName, actual.GetType().FullName);

            var actual2 = GenericMatcherUtils.GetMatcherByName("SuperfluousHotelMatcher");
            var expected2 = new SuperfluousHotelMatcher();

            Assert.AreEqual(expected2.GetType().FullName, actual2.GetType().FullName);

            var actual3 = GenericMatcherUtils.GetMatcherByName("ThereaboutsHolidaysMatcher");
            var expected3 = new ThereaboutsHolidaysMatcher();

            Assert.AreEqual(expected3.GetType().FullName, actual3.GetType().FullName);
        }
        public void ThereaboutsHolidaysMatcher_NotMatch_ChainCode_Distance()
        {
            var matcher = new ThereaboutsHolidaysMatcher();

            var supplierHotel = new SupplierHotel()
            {
                ChainCode = "UH",
                Latitude = 38.001M,
                Longitude = -77.001M
            };
            var hotel = new Hotel()
            {
                ChainCode = "HH",
                Latitude = 39.002M,
                Longitude = -77.002M
            };

            var isMatch = matcher.IsMatch(supplierHotel, hotel);

            Assert.AreEqual(false, isMatch);
        }