public void Returns_true_when_other_has_the_same_values( DummyValueObjectBuilder sutBuilder ) { sutBuilder.SkipEqualityCustomizationParameter(); var sut = sutBuilder.Build(); var other = sutBuilder.Build(); sut.Equals(other).Should().BeTrue(); }
public void Returns_false_when_other_has_different_values( DummyValueObjectBuilder sutBuilder, DummyValueObjectBuilder otherBuilder ) { var sut = sutBuilder .SkipEqualityCustomizationParameter() .Build(); var other = otherBuilder .SkipEqualityCustomizationParameter() .Build(); sut.Equals(other).Should().BeFalse(); }