public void Can_proxy_class_service_with_inherited_implementation()
{
RegisterInterceptor();
Container.Register(Component.For<JohnParent>().ImplementedBy<JohnChild>().LifeStyle.Transient.Interceptors<CountingInterceptor>());
var obj = Container.Resolve<JohnParent>();
Assert.IsTrue(IsProxy(obj));
Assert.IsInstanceOf<JohnChild>(obj);
}