Example #1
0
        public void ComponentIndicesCacheInvalidatedWhenNewComponentReplaced()
        {
            SetupComponentIndicesCache();

            _defaultEntity.ReplaceComponentC(new ComponentC());

            Assert.AreNotEqual(_componentIndicesCache, _defaultEntity.GetComponentIndices());
        }