public void DoesNotEqualObjectOfOtherType() { var sut = new ExceptionCentricTestSpecification(NoEvents, Message, Exception); Assert.That(sut.Equals(new object()), Is.False); }
public void DoesEqualItself() { var sut = new ExceptionCentricTestSpecification(NoEvents, Message, Exception); Assert.That(sut.Equals((object)sut), Is.True); }
public void DoesNotEqualNull() { var sut = new ExceptionCentricTestSpecification(NoEvents, Message, Exception); Assert.That(sut.Equals(null), Is.False); }