@Test
public void testResolutionInfo() throws Exception
{
AddonId addon = AddonId.from("test:one_dep", "1.0.0.Final");
AddonId addonDep = AddonId.from("test:no_dep", "1.0.0.Final");
AddonInfo info = resolver.resolveAddonDependencyHierarchy(addon);
Assert.assertNotNull(info);
Assert.assertEquals(1, info.getRequiredAddons().size());
Assert.assertEquals(addonDep, info.getRequiredAddons().iterator().next().getAddon());
Assert.assertEquals(1, info.getResources().size());
}