private IEnumerator waitForResumedEventTest() { bool resumed = false; RadicalCoroutine coroutine = RadicalCoroutine.Create(testCoroutine(), "testCoroutine"); coroutine.EResumed += delegate { resumed = true; }; coroutine.Pause(); StartCoroutine(coroutine.Enumerator); yield return(null); IntegrationTestEx.FailIf(resumed); coroutine.Resume(); yield return(null); IntegrationTestEx.FailIf(!resumed, "coroutine did not dispatch EResumed one frame after resumed"); }