public void testComponentDependsOnArrayOfEverythingElse() {
container.registerComponentImplementation(DependsOnArray.class,
DependsOnArray.class,
new Parameter[] { new CollectionConstraint(Anything.ANYTHING) });
DependsOnArray doa = (DependsOnArray) container.getComponentInstance(DependsOnArray.class);
assertNotNull(doa);
Object[] dependencies = doa.getDependencies();
assertEquals(5, dependencies.length);
}