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