@Override
        public void read(JmeImporter ji) throws IOException {
            InputCapsule capsule = ji.getCapsule(this);

            Assert.assertEquals("readSavableMap()", testSavableMap, capsule.readSavableMap("testSavableMap", null));
            Assert.assertEquals("readStringSavableMap()", testStringSavableMap, capsule.readStringSavableMap("testStringSavableMap", null));

            // IntMap does not implement equals() so we have to do it manually
            IntMap loadedIntMap = capsule.readIntSavableMap("testIntSavableMap", null);
            Iterator iterator = testIntSavableMap.iterator();
            while(iterator.hasNext()) {
                IntMap.Entry entry = (IntMap.Entry) iterator.next();
                Assert.assertEquals("readIntSavableMap()", entry.getValue(), loadedIntMap.get(entry.getKey()));
            }
        }
Test suite for implementations of the JmeExporter and JmeImporter interfaces.
There are tests here for all write* and read* methods of the OutputCapsule and InputCapsule interfaces respectively.
jme3-plugins/src/test/java/com/jme3/export/InputOutputCapsuleTest.java