Assert.assertFalse(repository.isDeployed(addon));
repository.deploy(addon, new ArrayList<AddonDependencyEntry>(), new ArrayList<File>());
Assert.assertTrue(repository.isDeployed(addon));
Assert.assertFalse(repository.isEnabled(addon));
repository.enable(addon);
Assert.assertTrue(repository.isEnabled(addon));
Assert.assertEquals(0, repository.getAddonDependencies(addon).size());
}