public class ExceptionClass { public static void WillThrowException() { throw new Exception(); } }
Assert.Throws<Exception>( () => Isolate.Invoke.Method(typeof (ExceptionClass), "WillThrowException"));