Esempio n. 1
0
        public void Object_Equals_Returns_True_When_Equal()
        {
            var other = TrackMother.Create() as object;

            var result = subject.Equals(other);

            Assert.That(result, Is.True);
        }
Esempio n. 2
0
        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);
        }
Esempio n. 3
0
 public void Setup()
 {
     subject = TrackMother.Create();
 }