Beispiel #1
0
 public static object ShouldNull(this object value)
 {
     AssertHelper.WriteLineForShouldBeNull(value);
     Assert.IsNull(value);
     return(value);
 }
Beispiel #2
0
 public static T ShouldNull <T>(this T value)
 {
     AssertHelper.WriteLineForShouldBeNull(value);
     Assert.IsNull(value);
     return(value);
 }