コード例 #1
0
        public async Task CallingResultOfNoValues_ReturnsEmptyArray()
        {
            _bulkPostcodeService = new BulkPostcodeService();
            await _bulkPostcodeService.MakeRequestAsync(new string[] { });

            //Assert.That(_bulkPostcodeService.Json_Response["status"].ToString(), Is.EqualTo("200"));
            Assert.That(_bulkPostcodeService.Json_Response["result"].ToString(), Is.Empty);
        }
コード例 #2
0
 public async Task OneTimeSetUpAsync()
 {
     _bulkPostcodeService = new BulkPostcodeService(new CallManager());
     await _bulkPostcodeService.MakeRequestAsync(new string[] { "666666", "Rainbow", "" });
 }
コード例 #3
0
 public async Task OneTimeSetUpAsync()
 {
     _bulkPostcodeService = new BulkPostcodeService(new CallManager());
     await _bulkPostcodeService.MakeRequestAsync(new string[] { "OX49 5NU", "M32 0JG", "NE30 1DP" });
 }