Ejemplo n.º 1
0
 public void ShouldNotBeOfType()
 {
     DocExampleWriter.Document(() =>
     {
         var theSimpsonsDog = new Cat() { Name = "Santas little helper" };
         theSimpsonsDog.ShouldNotBeOfType<Cat>();
     }, _testOutputHelper);
 }
Ejemplo n.º 2
0
 public void Objects()
 {
     DocExampleWriter.Document(() =>
     {
         var theSimpsonsCat = new Cat { Name = "Santas little helper" };
         theSimpsonsCat.Name.ShouldBe("Snowball 2");
     }, _testOutputHelper);
 }