public class ExceptionClass { public static void WillThrowException() { throw new Exception(); } }
Assert.Throws<Exception>( () => Isolate.Invoke.Method(typeof (ExceptionClass), "WillThrowException"));
Struggling with legacy code? Let’s solve it together
Δ
Notifications