private async void UnknownApiExceptionTest() { var httpClient = new CustomHttpClient(); await Assert.ThrowsAsync <UnknownApiException>( () => httpClient.Execute(new Uri("http://alex.com"), HttpVerb.Get, null)); }