public void IsNotInstanceOf <T>(object actual, string message, params object[] args) { NotThat(actual, Matchers.BeInstanceOf(typeof(T)), message, args); }
public void IsNotInstanceOf <T>(object actual) { NotThat(actual, Matchers.BeInstanceOf(typeof(T))); }
public void IsNotInstanceOf(Type expected, object actual, string message, params object[] args) { NotThat(actual, Matchers.BeInstanceOf(expected), message, args); }
public void IsNotInstanceOf(Type expected, object actual) { NotThat(actual, Matchers.BeInstanceOf(expected)); }
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); }
public static void InstanceOf <T>(this IExpectation <T> e, Type expected) { e.As <object>().Like(Matchers.BeInstanceOf(expected)); }