@Test
    public void testOverrides_SaveAndLoad_KeepsMPOs() {
        MatParamOverride override = mpoInt("val", 5);
        Node scene = createDummyScene();
        scene.getChild("A").addMatParamOverride(override);

        AssetManager assetManager = TestUtil.createAssetManager();
        Node loadedScene = BinaryExporter.saveAndLoad(assetManager, scene);

        Node root = new Node("Root Node");
        root.attachChild(loadedScene);
        validateScene(root);
        validateScene(scene);

        assertNotSame(override, loadedScene.getChild("A").getLocalMatParamOverrides().get(0));
        assertEquals(override, loadedScene.getChild("A").getLocalMatParamOverrides().get(0));
    }
Validates how {@link MatParamOverride MPOs} work on the scene level.

@author Kirill Vainer
jme3-core/src/test/java/com/jme3/scene/SceneMatParamOverrideTest.java