AddonId addon = AddonId.from("1", "2");
AddonDependencyEntry dependency0 = AddonDependencyEntry.create("nm1", "ver", true, false);
AddonDependencyEntry dependency1 = AddonDependencyEntry.create("nm2", "ver");
repository.deploy(addon, Arrays.asList(dependency0, dependency1), new ArrayList<File>());
Assert.assertEquals(2, repository.getAddonDependencies(addon).size());
Assert.assertTrue(repository.getAddonDependencies(addon).contains(dependency0));
Assert.assertTrue(repository.getAddonDependencies(addon).contains(dependency1));
}