public void DisposeOnCompletion_WithStructuralChanges_Disposes()
        {
            m_Manager.CreateEntity(typeof(EcsTestFloatData));
            var c = new SupportsDisposeOnCompletion(Allocator.Temp);

            try
            {
                Assert.DoesNotThrow(() => TestSystem.DisposeOnCompletion_WithStructuralChanges(c));
                Assert.IsTrue(c.HasBeenDisposed(), "Dispose has not been called");
            }
            finally
            {
                c.Release();
            }
        }
        public void DisposeOnCompletion_DisposesAtEnd([Values] ScheduleType scheduleType)
        {
            m_Manager.CreateEntity(typeof(EcsTestFloatData));
            var c = new SupportsDisposeOnCompletion(Allocator.Temp);

            try
            {
                Assert.DoesNotThrow(() => TestSystem.DisposeOnCompletion(c, scheduleType));
                Assert.IsTrue(c.HasBeenDisposed(), "Dispose has not been called");
            }
            finally
            {
                c.Release();
            }
        }