@Test
public void testFromKey() throws Exception {

    BundleInfo info = BundleInfo.fromKey("org.jahia.modules/article/2.0.0");
    assertEquals("org.jahia.modules", info.getGroupId());
    assertEquals("article", info.getSymbolicName());
    assertEquals("2.0.0", info.getVersion());
    info = BundleInfo.fromKey("article/2.0.0");
    assertNull(info.getGroupId());
    assertEquals("article", info.getSymbolicName());
    assertEquals("2.0.0", info.getVersion());
}