private void testBounds(Geometry geometry) {
        BoundingVolume bv = geometry.getWorldBound();

        if (bv instanceof BoundingBox) {
            BoundingBox bb = (BoundingBox) bv;
            Assert.assertTrue(bb.getXExtent() > 0 && bb.getYExtent() > 0 && bb.getZExtent() > 0);
        } else if (bv instanceof BoundingSphere) {
            BoundingSphere bs = (BoundingSphere) bv;
            Assert.assertTrue(bs.getRadius() > 1f);
        }

        testVertices(geometry);
    }
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