示例#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();
 }