Esempio n. 1
0
 public void NotNull <T>(T instance, string message, params object[] args) where T : class
 {
     NotThat(instance, Matchers.BeNull(), message, args);
 }
Esempio n. 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);
 }
Esempio n. 3
0
 public void NotNull <T>(T instance) where T : class
 {
     NotThat(instance, Matchers.BeNull());
 }
Esempio n. 4
0
 ITestMatcher <object> ITestMatcherFactory <object> .CreateMatcher(TestContext testContext)
 {
     return(Matchers.Not(Matchers.BeNull()));
 }