Example #1
0
 public void ShouldBe(Person other)
 {
     Id.ShouldBe(other.Id);
     Name.ShouldBe(other.Name);
     Age.ShouldBe(other.Age);
     Height.ShouldBe(other.Height);
     Dob.ShouldBe(other.Dob);
 }
Example #2
0
 public void ShouldNotBe(Person other, bool sameId)
 {
     if (sameId)
     {
         Id.ShouldBe(other.Id);
     }
     else
     {
         Id.ShouldNotBe(other.Id);
     }
     Name.ShouldNotBe(other.Name);
     Age.ShouldNotBe(other.Age);
     Height.ShouldNotBe(other.Height);
     Dob.ShouldNotBe(other.Dob);
 }