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

            var result = subject.Equals(other);

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