@Test
void getGroupPath() throws Exception
{

    InstallRequest installOnTech = new InstallRequest();
    installOnTech.addNamespace("wiki:tech");
    InstallRequest installOnDesign = new InstallRequest();
    installOnDesign.addNamespace("wiki:design");
    InstallRequest installGlobally = new InstallRequest();
    InstallRequest installOnTechAndDesign = new InstallRequest();
    installOnTechAndDesign.addNamespace("wiki:tech");
    installOnTechAndDesign.addNamespace("wiki:design");
    assertGroupPath(new JobGroupPath("wiki:tech", AbstractExtensionJob.ROOT_GROUP), installOnTech, installOnTech);
    assertGroupPath(AbstractExtensionJob.ROOT_GROUP, installOnTech, installOnDesign);
    assertGroupPath(AbstractExtensionJob.ROOT_GROUP, installOnTech, installGlobally);
}