title: Is it possible to mock protected properties and methods
body: <p>Is it possible to mock a protected property with PHP Mockery?</p>
  
  <p>I got a class with a method, I will call it `a, that does some magic on an array that is retrieved from a protected property from the same class.</p>
  
  <p>That protected property is filled by another method <code>b</code>, in the same class.</p>
  
  <p>I would like to test method <code>a</code> by mocking the protected property so I don't have to class method <code>b</code> first.</p>
  
  <p>So is this possible? If not, should I refactor my code? Or are there other ways (considering best practises).</p>