I'm using typo3 6 with extbase and some dependency injection features.
MyClass is injected with a service. The property which holds the service is protected.
class MyClass {
/**
*
* @var \X\Y\Z\MyService
* @inject
*/
protected $myService;
}
How can I change (or mock) the service in my UnitTest by?