public void EqualsWithUnequalObjectTypes() { var first = new NotificationName("name"); var second = new object(); Assert.IsFalse(first.Equals(second)); }
public void EqualsWithEqualObjects() { var first = new NotificationName("name"); object second = first.Clone(); Assert.IsTrue(first.Equals(second)); }
public void EqualsWithUnequalObjects() { var first = new NotificationName("name1"); object second = new NotificationName("name2"); Assert.IsFalse(first.Equals(second)); }
public void EqualsWithNullObject() { var first = new NotificationName("name"); object second = null; Assert.IsFalse(first.Equals(second)); }