public void Object_Equals_Returns_True_When_Equal() { var other = TrackMother.Create() as object; var result = subject.Equals(other); Assert.That(result, Is.True); }
public void Equals_Returns_False_When_Not_Equal() { var other = TrackMother.Create(); other.Name = "Maiden Voyage"; var result = subject.Equals(other); Assert.That(result, Is.False); }
public void Setup() { subject = TrackMother.Create(); }