public async Task RequestWrapper_InitSync_InvokeAsyncThrowsInvalidOperationException() { wrapper.Init(mock => 42); await Assert.ThrowsExceptionAsync <InvalidOperationException>(() => wrapper.InvokeRequestAsync(request)); }