MinieExamples/src/main/java/jme3utilities/minie/test/TestSoftBody.java
/**
     * Clean up after a test.
     */
Clean up after a test.
Clean up after a test .
private void cleanupAfterTest() {
        /*
         * Remove any scenery. Debug meshes are under a different root node.
         */
        rootNode.detachAllChildren();
        /*
         * Remove physics objects, which also removes their debug meshes.
         */
        physicsSpace.destroy();
        assert physicsSpace.isEmpty();
        /*
         * Clear the hidden-object list.
         */
        hiddenObjects.clearExceptions();
    }
private void cleanupAfterTest ( ) { /*
         * Remove any scenery. Debug meshes are under a different root node.
         */ rootNode . detachAllChildren ( ) ; /*
         * Remove physics objects, which also removes their debug meshes.
         */ physicsSpace . destroy ( ) ; assert physicsSpace . isEmpty ( ) ; /*
         * Clear the hidden-object list.
         */ hiddenObjects . clearExceptions ( ) ; }
Clean up after a test.
Clean up after a test .