public void Detail_ShouldHave_SellingPrice()
        {
            var detail = new HenDepreciationDetail {
                HouseId = Guid.NewGuid(), InitialPrice = 10, SellingPrice = -20, Depreciation = 10
            };
            var errors = detail.Validate();

            Assert.True(errors.Any(e => e.Message == "HenDepreciationDetail_InvalidSellingPrice"));
        }
        public void Detail_ShouldHave_HouseId()
        {
            var detail = new HenDepreciationDetail {
                InitialPrice = 10, SellingPrice = 20, Depreciation = 10
            };
            var errors = detail.Validate();

            Assert.True(errors.Any(e => e.Message == "HenDepreciationDetail_RequireHouseId"));
        }