public void Ctor_WithValidArguments_Test() { var amount = 1000m; var region = RegionMother.CreateSimpleModel(); var period = PeriodMother.CreateSimpleModel(); var model = new EstimatedSaleAllocation(amount, region, period); Assert.That(model.Amount, Is.EqualTo(amount)); Assert.That(model.RegionDimension, Is.EqualTo(region)); Assert.That(model.PeriodDimension, Is.EqualTo(period)); }
public static EstimatedSaleAllocation CreateSimpleModel() { var amount = 1000m; return(new EstimatedSaleAllocation(amount, RegionMother.CreateSimpleModel(), PeriodMother.CreateSimpleModel())); }