@Test
public void testKeyToPath() throws Exception {

    assertEquals(PATH_BUNDLES + "/org/jahia/modules/article/2.0.0/article-2.0.0.jar",
            getJcrPath("org.jahia.modules/article/2.0.0"));
    assertEquals(
            PATH_BUNDLES
                    + "/org/jahia/modules/advanced-visibility/2.0.1-SNAPSHOT/advanced-visibility-2.0.1-SNAPSHOT.jar",
            getJcrPath("org.jahia.modules/advanced-visibility/2.0.1-SNAPSHOT"));
    assertEquals(PATH_BUNDLES + "/info/shyrkov/modules/myTest-module/1.0/myTest-module-1.0.jar",
            getJcrPath("info.shyrkov.modules/myTest-module/1.0"));
    assertEquals(PATH_BUNDLES + "/myTest-module/2.1/myTest-module-2.1.jar", getJcrPath("myTest-module/2.1"));
}