Call this method immediately after the line, that should have thrown an exception. To be used for checked exceptions.
Call this method immediately after the line, that should have thrown an exception. To be used for checked exceptions.
public static void Fail();
Fail with custom message. Use with checked exceptions.
public static void Fail(string);