WrapperProxetta
works differently than ProxyProxetta
: instead of extending the target class, it creates new class that delegates call to target instance.WrapperProxetta
generates new class that delegates calls to target class instance. It is not enough to create a wrapper class and the instance - you must inject the target instead into it, too.