@Test
public void testGetPackageName() {

	Assert.assertEquals(
		"a-package", ModuleNameUtil.getPackageName("a-package"));
	Assert.assertEquals(
		"a-package",
		ModuleNameUtil.getPackageName("a-package/a-folder/a-module"));
	Assert.assertEquals(
		"a-package",
		ModuleNameUtil.getPackageName("a-package/a-folder/a-module.js"));
	Assert.assertNull(ModuleNameUtil.getPackageName("./a-module"));
}