Пример #1
0
        public void Object_Equals_Returns_True_When_Equal()
        {
            var other = PodcastMother.Create() as object;

            var result = subject.Equals(other);

            Assert.That(result, Is.True);
        }
Пример #2
0
        public void Equals_Returns_False_When_Not_Equal()
        {
            var other = PodcastMother.Create();

            other.Feed.Name = "New Podcast";

            var result = subject.Equals(other);

            Assert.That(result, Is.False);
        }
Пример #3
0
 public void SetUp()
 {
     subject = PodcastMother.Create();
 }