public void Parent_and_GrandParent_of_impl_can_be_the_service()
{
Container.Register(Component.For<JohnParent, JohnGrandparent>().ImplementedBy<JohnChild>());
var grandparent = Container.Resolve<JohnGrandparent>();
var parent = Container.Resolve<JohnParent>();
Assert.AreSame(grandparent, parent);
Assert.IsInstanceOf<JohnChild>(grandparent);
}