Пример #1
0
            public async void RunCommandThrows()
            {
                var ex = await ExceptionAssert.RecordThrowsAsync(async() => { await proxy.RunCommandAsync(new RemoteCommand(true, "blah")); });

                Assert.IsType <InvalidOperationException>(ex);
            }
Пример #2
0
            public async void BindMountsThrows()
            {
                var ex = await ExceptionAssert.RecordThrowsAsync(async() => await proxy.BindMountsAsync(new BindMount[0]));

                Assert.IsType <InvalidOperationException>(ex);
            }