public void ShouldBeOfType() { var theSimpsonsDog = new Cat() { Name = "Santas little helper" }; theSimpsonsDog.ShouldBeOfType<Dog>(); }
public void ShouldBe() { var theSimpsonsCat = new Cat() { Name = "Santas little helper" }; theSimpsonsCat.Name.ShouldBe("Snowball 2"); }