public IEnumerator TestStartCoroutines() { GameObject gameObject = new GameObject(); TestComponent component = gameObject.AddComponent <TestComponent>(); Counter counter = new Counter(); yield return(component.StartCoroutines(IncreaseCountCoroutine(counter), IncreaseCountCoroutine(counter), IncreaseCountCoroutine(counter))); Assert.AreEqual(3, counter.count); }