public async void GetAddressFromLatLongTest() { // Get Google Maps API-key from JSON-file dynamic config = JsonConvert.DeserializeObject(File.ReadAllText("../../../../BezorgDirect.BezorgersApplicatie.API/variables.json")); string apiKey = config["LocationsService"]["GoogleMapsApiKey"]; LatLng latLng = new LatLng(52.3220135, 4.5965738); AddressData a = await ls.GetAddressFromLatLong(latLng, apiKey); Assert.IsTrue(a.IsValid()); }