コード例 #1
0
ファイル: NullMatcher.cs プロジェクト: Carbonfrost/f-spec
 public void NotNull <T>(T instance, string message, params object[] args) where T : class
 {
     NotThat(instance, Matchers.BeNull(), message, args);
 }
コード例 #2
0
ファイル: NullMatcher.cs プロジェクト: Carbonfrost/f-spec
 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);
 }
コード例 #3
0
ファイル: NullMatcher.cs プロジェクト: Carbonfrost/f-spec
 public void NotNull <T>(T instance) where T : class
 {
     NotThat(instance, Matchers.BeNull());
 }
コード例 #4
0
ファイル: NullMatcher.cs プロジェクト: Carbonfrost/f-spec
 ITestMatcher <object> ITestMatcherFactory <object> .CreateMatcher(TestContext testContext)
 {
     return(Matchers.Not(Matchers.BeNull()));
 }