public CallbackAmountTests() { this.subject = new CallbackAmount() { Confirmed = new PropertyAmount(100), Pending = new PropertyAmount(200), }; }
public void Equality_WithEqual_ShouldReturnTrue() { var right = new CallbackAmount() { Confirmed = this.subject.Confirmed, Pending = this.subject.Pending, }; Assert.True(this.subject == right); }
public void Equality_WithLeftNull_ShouldReturnFalse() { CallbackAmount left = null; Assert.False(left == this.subject); }
public void Inequality_WithLeftNull_ShouldReturnTrue() { CallbackAmount left = null; Assert.True(left != this.subject); }