@Test
    public void testBFS() {
        NameListVisitor visitor = new NameListVisitor();
        buildTestSceneGraph().breadthFirstTraversal(visitor);

        assertThat(visitor.namesInOrder, is(EXPECTED_ORDER_BFS));
    }
Tests for traversal order when using SceneGraphVisitor
with Spatial.depthFirstTraversal() and Spatial.breadthFirstTraversal().

Related: Pull Request #1012 at GitHub

@author 1000ml/FennelFetish (https://github.com/FennelFetish)
jme3-core/src/test/java/com/jme3/scene/SceneGraphTraversalTest.java