public void Test_SaveTextAppService_CustomClient() { try { string url = AppSettingsReader <IAppSettings> .Get(x => x.SaveTextAppServiceUrl); string cultureName = AppSettingsReader <IAppSettings> .Get(x => x.CultureName); var client = new SaveTextAppServiceClient(url, cultureName); SaveTextViewModel viewModel = client.Show(); SaveTextViewModel viewModel2 = client.Save(viewModel); } catch (WebException ex) { Assert.Inconclusive(ex.Message); } }