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 AssertLandListing(LandListing source,
                                             LandListing destination)
        {
            ListingAssertHelpers.AssertCommonData(source, destination);
            SalePricingAssertHelpers.AssertSalePrice(source.Pricing, destination.Pricing);
            AssertLandEstate(source.Estate, destination.Estate);

            source.AuctionOn.ShouldBe(destination.AuctionOn);
            source.CategoryType.ShouldBe(destination.CategoryType);
            source.CouncilRates.ShouldBe(destination.CouncilRates);
        }
コード例 #4
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);
        }