public void MoneysAreTransitive() { Money moneyA = new MoneyBuilder().Build(); Money moneyB = new MoneyBuilder().Build(); Money moneyC = new MoneyBuilder().Build(); moneyA.Should().Be(moneyB); moneyB.Should().Be(moneyC); moneyA.Should().Be(moneyC); }
public void MoneysAreSymmetric() { Money moneyA = new MoneyBuilder().Build(); Money moneyB = new MoneyBuilder().Build(); moneyA.Should().Be(moneyB); moneyB.Should().Be(moneyA); }
public void MoneysAreReflexive() { Money money = new MoneyBuilder().Build(); money.Should().Be(money); }
public void MoneyIsNotEqualToNull() { Money money = new MoneyBuilder().Build(); money.Should().NotBeNull(); }