private void testVertices(Geometry geometry) {
        BoundingVolume bv = geometry.getWorldBound();
        Assert.assertNotNull(bv);

        for (int e = 0; e < geometry.getVertexCount(); e++) {
            float x = (Float) geometry.getMesh().getBuffer(VertexBuffer.Type.Position).getElementComponent(e, 0);
            float y = (Float) geometry.getMesh().getBuffer(VertexBuffer.Type.Position).getElementComponent(e, 1);
            float z = (Float) geometry.getMesh().getBuffer(VertexBuffer.Type.Position).getElementComponent(e, 2);
            Vector3f vertex = new Vector3f(x, y, z);
            Assert.assertTrue("Vertex outside world bound: " + vertex, bv.intersects(vertex));
        }
    }
Tests that all shapes have had a world bound calculated, and that vertices are within those bounds. Test
added for issue #1121. This is a clear failure: BoundingBox [Center: (0.0, 0.0, 0.0) xExtent: 0.0 yExtent:
0.0 zExtent: 0.0]

@author lou
jme3-core/src/test/java/com/jme3/scene/shape/ShapeBoundsTest.java