Beispiel #1
0
 public void NotNull <T>(T instance, string message, params object[] args) where T : class
 {
     NotThat(instance, Matchers.BeNull(), message, args);
 }
Beispiel #2
0
 public static void Null <T>(this IExpectation <T> e, string message, params object[] args) where T : class
 {
     e.As <object>().Like(Matchers.BeNull(), message, (object[])args);
 }
Beispiel #3
0
 public void NotNull <T>(T instance) where T : class
 {
     NotThat(instance, Matchers.BeNull());
 }
Beispiel #4
0
 ITestMatcher <object> ITestMatcherFactory <object> .CreateMatcher(TestContext testContext)
 {
     return(Matchers.Not(Matchers.BeNull()));
 }