Пример #1
0
 public void IsNotInstanceOf <T>(object actual, string message, params object[] args)
 {
     NotThat(actual, Matchers.BeInstanceOf(typeof(T)), message, args);
 }
Пример #2
0
 public void IsNotInstanceOf <T>(object actual)
 {
     NotThat(actual, Matchers.BeInstanceOf(typeof(T)));
 }
Пример #3
0
 public void IsNotInstanceOf(Type expected, object actual, string message, params object[] args)
 {
     NotThat(actual, Matchers.BeInstanceOf(expected), message, args);
 }
Пример #4
0
 public void IsNotInstanceOf(Type expected, object actual)
 {
     NotThat(actual, Matchers.BeInstanceOf(expected));
 }
Пример #5
0
 public static void InstanceOf <T>(this IExpectation <T> e, Type expected, string message, params object[] args)
 {
     e.As <object>().Like(Matchers.BeInstanceOf(expected), message, args);
 }
Пример #6
0
 public static void InstanceOf <T>(this IExpectation <T> e, Type expected)
 {
     e.As <object>().Like(Matchers.BeInstanceOf(expected));
 }