private static final void compareMaps(Map<String, Object>[] maps) {
        String[] keys = maps[0].keySet().toArray(new String[0]);
        // check if all maps have the same keys and values for those keys
        for (int i = 1; i < maps.length; i++) {
            Map<String, Object> map = maps[i];
            Assert.assertEquals("Map " + i + " keys do not match", keys.length, map.size());
            for (String key : keys) {
                Assert.assertTrue("Missing key " + key + " in map " + i, map.containsKey(key));
                Object v1 = maps[0].get(key);
                Object v2 = map.get(key);
                if (v1.getClass().isArray()) {
                    boolean c = Arrays.equals((Object[]) v1, (Object[]) v2);
                    if (c) System.out.println(key + " match");
                    Assert.assertTrue("Value does not match in map " + i + " for key " + key + " expected "
                            + Arrays.deepToString((Object[]) v1) + " but got "
                            + Arrays.deepToString((Object[]) v2), c);
                } else {
                    boolean c = v1.equals(v2);
                    if (c) System.out.println(key + " match");
                    Assert.assertTrue("Value does not match in map " + i + " for key " + key + " expected "
                            + v1 + " but got " + v2, c);
                }
            }
        }

    }
Tests the methods on classes that implements the JmeExporter interface.
jme3-plugins/src/test/java/com/jme3/export/JmeExporterTest.java