@Test
public void shouldBeAbleToInstantiateADependentBean() {

this.picoContainer.addComponent(Fruit.class);
this.picoContainer.addComponent(Juice.class);

Fruit fruit = container.instanceFor(Fruit.class);
Juice juice = container.instanceFor(Juice.class);

assertThat(juice, is(notNullValue()));
assertThat(juice.fruit, is(equalTo(fruit)));
}