I have a method that looks like this:
private async void DoStuff(long idToLookUp) { IOrder order = await orderService.LookUpIdAsync(idToLookUp);
Change your method to return a Task and you can use Task.Result
bool res = configuration.InitializeAsync(appConfig).Result; Assert.IsTrue(res);