title: How to test method include async method in Unity
body: <p>I want to test method using async method.
  But, when i run test, UnityEditor is blocking.</p>
  <p>I think, this problem is because async method.
  i don't know how to solve this problem.</p>
  <p>Unity version : Unity 2020.3.33f1</p>
  <pre class="lang-cs prettyprint-override"><code>public async static Task&lt;string&gt; GetAsync() {
  
      // Do something
      HttpResponseMessage response = await request.GetAsync(..);
      string responseData = await response.Content.ReadAsStringAsync();
  
  
      return response Data
  }
  
  ...
  
  
  public string GetData() {
      Task&lt;string&gt; res = GetAsync();
      return res.Result;
  }
  
  
  ////////////////// Test Code //////////////
  
  [Test]
  public void Test_GetData() {
     ...
     string res = GetData()
     ...
  }
  
  
  </code></pre>