Esempio n. 1
0
        public async Task Should_export_people_proxy()
        {
            _client = GetUnanetClient(true, proxy: true);
            var sourcePath = SourcePath;
            var task1      = await PersonModel.ExportFileAsync(_client, sourcePath).ConfigureAwait(false);

            Check.That(task1.hasFile).IsTrue();
            var task2 = PersonModel.GetReadXml(_client, sourcePath);

            Check.That(task2).IsNotEmpty();
        }
Esempio n. 2
0
 [TearDown] public void TearDown()
 {
     _client?.Dispose(); _client = null;
 }
Esempio n. 3
0
 [SetUp] public void Configure() => _client = GetUnanetClient();