private static void test() {
        /*
         * Test a clone for equality.
         */
        RenderState clone = testObject.clone();
        Assert.assertEquals(testObject, clone);

        if (testSerialization) {
            /*
             * Test a save-and-load copy for equality.
             */
            RenderState copy = BinaryExporter.saveAndLoad(assetManager, testObject);
            Assert.assertEquals(testObject, copy);
        }
    }
Test cloning/saving/loading a RenderState. Related issues include #1718 and
#1723.

@author Stephen Gold sgold@sonic.net
jme3-core/src/test/java/com/jme3/material/RenderStateTest.java