public void Object_Equals_Returns_False_When_Not_SameType() { var other = AlbumMother.Create(); var result = subject.Equals(other); Assert.That(result, Is.False); }
public void Object_Equals_Returns_True_When_Equal() { var other = AlbumMother.Create() as object; var result = subject.Equals(other); Assert.That(result, Is.True); }
public void Equals_Returns_False_When_Not_Equal() { var other = AlbumMother.Create(); other.Name = "New Album"; var result = subject.Equals(other); Assert.That(result, Is.False); }
public void SetUp() { subject = AlbumMother.Create(); }