@SuppressWarnings("unchecked")
@Test
public void testParentExclusion() throws IOException
{
AddonId addon = AddonId.from("test:no_dep_one_lib_excluding_indirect_lib", "1.0.0.Final");
InstallRequest install = addonManager.install(addon);
List<? extends AddonActionRequest> actions = install.getActions();
Assert.assertEquals(1, actions.size());
Assert.assertThat((List<DeployRequest>) actions, everyItem(isA(DeployRequest.class)));
DeployRequest deployRequest = (DeployRequest) actions.get(0);