@Test
public void testRootService_shouldHaveLowerRanking() throws Exception {

    File connectorFile = new File(temporaryFolder.getRoot() + "/etc/mydomain+aconnector+myroot.connector");
    FileUtils.touch(connectorFile);
    FileUtils.writeStringToFile(connectorFile, testConnectorData);
    connectorDeployerService.install(connectorFile);
    ServiceReference reference = bundleContext.getServiceReferences(NullDomain.class.getName(), "")[0];
    Integer ranking = (Integer) reference.getProperty(Constants.SERVICE_RANKING);
    assertThat(ranking, lessThan(0));
}