public IEnumerator DestroyedGameObjectThrowsMissingReferenceException()
        {
            var go = new GameObject("TestGameObject");

            Object.DestroyImmediate(go);

            Assert.Throws <MissingReferenceException>(() => GameObjectExtensions.CreateTaskRunner(go));
            yield break;
        }
 public IEnumerator NullGameObjectThrowsArgumentNullException()
 {
     Assert.Throws <System.ArgumentNullException>(() => GameObjectExtensions.CreateTaskRunner(null));
     yield break;
 }