extraAttributes.put("nullatt", null); testEncodeDecodeToString(ModuleRevisionId.newInstance("org/jayasoft", "pre/name", "1.0-dev8/2", extraAttributes));
    public void testEncodeDecodeToString() {        testEncodeDecodeToString(ModuleRevisionId.newInstance("org", "name", "revision"));        testEncodeDecodeToString(ModuleRevisionId.newInstance("org", "name", ""));        testEncodeDecodeToString(ModuleRevisionId.newInstance("org.jayasoft", "name-post", "1.0"));        testEncodeDecodeToString(ModuleRevisionId.newInstance("org/jayasoft", "pre/name", "1.0-dev8/2"));        Map extraAttributes = new HashMap();        extraAttributes.put("extra", "extravalue");        extraAttributes.put("att/name", "att/value");        extraAttributes.put("att.name", "att.value");        extraAttributes.put("att<name", "att<value");        testEncodeDecodeToString(ModuleRevisionId.newInstance("org/jayasoft", "pre/name", "1.0-dev8/2", extraAttributes));    }