Esempio n. 1
0
 public void NullableValueShouldNotBeNullWithChaining()
 {
     DocExampleWriter.Document(() =>
     {
         SomeStruct?nullableValue = new SomeStruct {
             IntProperty = 41
         };
         nullableValue.ShouldNotBeNull().IntProperty.ShouldBe(42);
     }, _testOutputHelper);
 }