public void Equals_IsSymmetric(JSendError first, JSendError second) { // Exercise system var firstEqualsSecond = first.Equals(second); var secondEqualsFirst = second.Equals(first); // Verify outcome firstEqualsSecond.Should().Be(secondEqualsFirst); }
public void ErrorIsNotEqualToInstanceOfAnotherType(JSendError error, string other) { // Exercise system and verify outcome error.Equals(other).Should().BeFalse(); }
public void Equals_IsReflexive(JSendError error) { // Exercise system and verify outcome error.Equals(error).Should().BeTrue(); }
public void TwoErrors_AreNotEqual_WhenTheirFieldsDoNotMatch(JSendError first, JSendError second) { // Exercise system and verify outcome first.Equals(second).Should().BeFalse(); }
public void ErrorIsNotEqualToNull(JSendError error) { // Exercise system and verify outcome error.Equals(null).Should().BeFalse(); }
public void Equals_IsSymmetric(JSendError first, JSendError second) { // Exercise system var firstEqualsSecond = first.Equals(second); var secondEqualsFirst = second.Equals(first); // Verify outcome firstEqualsSecond.Should().Be(secondEqualsFirst); }
public void Equals_IsReflexive(JSendError error) { // Exercise system and verify outcome error.Equals(error).Should().BeTrue(); }
public void ErrorIsNotEqualToInstanceOfAnotherType(JSendError error, string other) { // Exercise system and verify outcome error.Equals(other).Should().BeFalse(); }
public void ErrorIsNotEqualToNull(JSendError error) { // Exercise system and verify outcome error.Equals(null).Should().BeFalse(); }
public void TwoErrors_AreNotEqual_WhenTheirFieldsDoNotMatch(JSendError first, JSendError second) { // Exercise system and verify outcome first.Equals(second).Should().BeFalse(); }