title: phpunit mock - will return object
body: <p>Using phpunit mock object, I have a method that returns an object.</p>
  
  <p>How do you code this using the expects / method / will methods?</p>
  
  <p>i.e. </p>
  
  <pre><code> -&gt;will($this-&gt;returnValue('Class_Name'));
  </code></pre>