Can someone please explain why this test fails:
[Fact]
public void ResolveAllDoesNotReturnServicesRegisteredInParent()
{
// arrange
var windsorContainer = new WindsorContainer();
windsorContainer.Register(Component.For<IView>().ImplementedBy<ViewA>().LifeStyle.Transient);
windsorContainer.Register(Component.For<IView>().ImplementedBy<ViewB>().LifeStyle.Transient);
var childContainer = new WindsorContainer();
windsorContainer.AddChildContainer(childContainer);
// act
IView[] views = childContainer.ResolveAll<IView>();
// assert
Assert.True(views.Length == 2);
}