@Test
public void testConnectorFileWithRanking_shouldBeInstalledWithNumericRanking() throws Exception {

    File connectorFile = temporaryFolder.newFile(TEST_FILE_NAME);
    FileUtils
        .writeStringToFile(connectorFile, testConnectorData + "\nproperty.service.ranking=2\nproperty.bla=foo");
    connectorDeployerService.install(connectorFile);
    serviceUtils.getService("(bla=foo)", 100L);
    ServiceReference serviceReference = bundleContext.getServiceReferences((String) null, "(bla=foo)")[0];
    Integer ranking = (Integer) serviceReference.getProperty(Constants.SERVICE_RANKING);
    assertThat(ranking, notNullValue());
}