title: PHPUnit - Mocking a trait
body: <p>I have a trait that is used by multiple classes,  i.e </p>
  
  <pre><code>class SomeClass
  {
       use TimeoutTrait;
  
       function handle() {
           $this-&gt;traitFunction()    // can this be mocked?
       }
  }
  </code></pre>
  
  <p>PHP unit is capable to mock the traitFunction()?.</p>
  
  <p>Thanks in advance for the help.</p>
  
  <p>Greetings </p>