public void Test002() { var ac = new AssertionContext(); assert.Throws <StateException>(() => ac.Pop()); }
public static void Throws <T>(this IAssertionTool assertTool, Expression <Func <object> > test, string message, params object[] fmt) { assertTool.Throws <T>(test, null, message, fmt); }
public static void Throws <T>(this IAssertionTool assertTool, Expression <Func <object> > test) { assertTool.Throws <T>(test, null, null, null); }
public static void Throws <T>(this IAssertionTool assertTool, Expression <Func <object> > test, string message) { assertTool.Throws <T>(test, null, "{0}", message); }
public static void Throws <T>(this IAssertionTool assertTool, Expression <Action> test) { assertTool.Throws <T>(test, null, null, null); }