    @Test
    public void testUpdateBundleRepositoryDescriptor() throws Exception {

        repositoryService.create("test");
        repositoryService.addArtifact("mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsearch/7.3.2_1", "test");
        repositoryService.updateBundleRepositoryDescriptor("test");
        Assert.assertTrue(Files.exists(Paths.get("target/repositories/test/repository.xml")));
    }