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