Example #1
0
        public void BrokerGetAccountsAsyncOnUnsupportedPlatformTest()
        {
            using (var harness = CreateTestHarness())
            {
                IBroker broker = harness.ServiceBundle.PlatformProxy.CreateBroker(null);

                AssertException.TaskThrowsAsync <PlatformNotSupportedException>(
                    () => broker.GetAccountsAsync(TestConstants.ClientId, TestConstants.RedirectUri))
                .ConfigureAwait(false);
            }
        }