public void Object_Equals_Returns_False_When_Not_SameType()
        {
            var other = AlbumMother.Create();

            var result = subject.Equals(other);

            Assert.That(result, Is.False);
        }
Example #2
0
        public void Object_Equals_Returns_True_When_Equal()
        {
            var other = AlbumMother.Create() as object;

            var result = subject.Equals(other);

            Assert.That(result, Is.True);
        }
Example #3
0
        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);
        }
Example #4
0
 public void SetUp()
 {
     subject = AlbumMother.Create();
 }