public static void AssertRuralListing(RuralListing source,
                                              RuralListing destination)
        {
            ListingAssertHelpers.AssertCommonData(source, destination);
            BuildingDetailsAssertHelpers.AssertBuildingDetails(source.BuildingDetails, destination.BuildingDetails);

            source.AuctionOn.ShouldBe(destination.AuctionOn);
        }
        public static void AssertRuralListing(RentalListing source,
                                              RentalListing destination)
        {
            ListingAssertHelpers.AssertCommonData(source, destination);
            BuildingDetailsAssertHelpers.AssertBuildingDetails(source.BuildingDetails, destination.BuildingDetails);
            AssertRentalPricing(source.Pricing, destination.Pricing);

            source.AvailableOn.ShouldBe(destination.AvailableOn);
            source.PropertyType.ShouldBe(destination.PropertyType);
        }
示例#3
0
        public static void AssertResidentialListing(ResidentialListing source,
                                                    ResidentialListing destination)
        {
            ListingAssertHelpers.AssertCommonData(source, destination);

            source.AuctionOn.ShouldBe(destination.AuctionOn);
            source.PropertyType.ShouldBe(destination.PropertyType);
            source.CouncilRates.ShouldBe(destination.CouncilRates);

            SalePricingAssertHelpers.AssertSalePrice(source.Pricing, destination.Pricing);
            BuildingDetailsAssertHelpers.AssertBuildingDetails(source.BuildingDetails, destination.BuildingDetails);
        }