Axiom.UnitTests.Collections.RenameMovableObjectRegressionTests.SceneManager_AttachDetachRenameEntity_ShouldNotThrowException C# (CSharp) Method

SceneManager_AttachDetachRenameEntity_ShouldNotThrowException() private method

        public void SceneManager_AttachDetachRenameEntity_ShouldNotThrowException()
        {
            sceneManager.RootSceneNode.AttachObject( entity );
            sceneManager.RootSceneNode.DetachAllObjects();
            entity.Name = "newName_" + "SceneManager_AddRenameEntity";
            Assert.IsTrue( sceneManager.GetMovableObject( entity.Name, "Entity" ) != null );
        }