Exemplo n.º 1
0
        public async Task StatusOfNoInputOutcodeGives_400Async()
        {
            _singlePostcodeService = new SinglePostcodeService();
            await _singlePostcodeService.MakeRequestAsync("");

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