public static LandListing LandListing(bool isClearAllIsModified = true) { var listing = new LandListing { CategoryType = LandListingCategoryType.Residential, AuctionOn = new DateTime(2015, 5, 23), CouncilRates = "some council rates", Estate = new LandEstate { Name = "some land estate", Stage = "1st stage" }, Pricing = new SalePricing { IsUnderOffer = true, SalePrice = 12345.66m, SalePriceText = "house for sale", SoldOn = new DateTime(2015, 6, 1), SoldPrice = 45432.99m, SoldPriceText = "just sold woot!" } }; if (isClearAllIsModified) { listing.ClearAllIsModified(); } return listing; }