@Test
    public void testPhantomTriangles() {
        JmeSystem.setSystemDelegate(new MockJmeSystemDelegate());
        assetManager = new DesktopAssetManager();
        assetManager.registerLocator(null, ClasspathLocator.class);
        assetManager.registerLoader(J3MLoader.class, "j3m", "j3md");
        rootNode = new Node();

        createRedSquare();
        createWhiteLines();
        rootNode.updateLogicalState(0.01f);
        rootNode.updateGeometricState();
        castRay();
    }
Attach a pair of parallel white lines in the z=1 plane.
jme3-core/src/test/java/com/jme3/scene/PhantomTrianglesTest.java