public async void TestThrowsUnauthorizedException() { await Assert.ThrowsAsync <NotAuthorizedException>(async() => { var client = new ShipStationClient(new Configuration { UserName = "******", UserApiKey = "incorrect" }); await client.Orders.GetAsync(1); }); }
public TestBase() { Client = new ShipStationClient(GetConfigurationFromFile()); }