示例#1
0
        public async Task StatusOfNoInputOutcodeGives_400Async()
        {
            _singlePostcodeService = new SinglePostcodeService();
            await _singlePostcodeService.MakeRequestAsync("");

            Assert.That(_singlePostcodeService.Json_Response["status"].ToString(), Is.EqualTo("400"));
        }
示例#2
0
 public async Task OneTimeSetUpAsync()
 {
     _singlePostcodeService = new SinglePostcodeService();
     await _singlePostcodeService.MakeRequestAsync("EC2Y 5AS");
 }
 public async Task OneTimeSetUpAsync()
 {
     _singlePostcodeService = new SinglePostcodeService(new CallManager());
     await _singlePostcodeService.MakeRequestAsync("");
 }