public void AsyncOverrides_OverrideThrows() { AsyncVirtualMethodsChild obj = new AsyncVirtualMethodsChild(); JsiiException exception = Assert.Throws <JsiiException>(() => obj.CallMe()); Assert.Contains("Thrown by native code", exception.Message); }
public void AsyncOverrides_OverrideThrows() { AsyncVirtualMethodsChild obj = new AsyncVirtualMethodsChild(); RuntimeException exception = Assert.Throws <RuntimeException>(() => obj.CallMe()); Assert.Equal("Thrown by native code", exception.Message); }