public void ShouldIncreaseSubscription() { var venture = new Venture(new Name("Venture1"), new Amount(50099), new Amount(1345)); var investor = new Investor(new Name("Investor1"), new Amount(5000)); venture.AddOffer(investor, new Amount(2000)); Assert.AreEqual(new Amount(2000), venture.SubscribedAmount()); }
public void Should_Increase_Subscription() { Venture venture = new Venture(new Name("Venture1"), new Amount(50099), new Amount(1345)); Investor investor = new Investor(new Name("Investor1"), new GringottsDate(DateTime.Now), new Amount(5000)); venture.AddOffer(investor, new Amount(2000)); Assert.AreEqual(new Amount(2000), venture.SubscribedAmount()); }