title: PHP - calling a private method for testing, what's the correct design?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/5937845/phpunit-private-method-testing">PhpUnit private method testing</a>  </p>
  </blockquote>
  
  
  
  <p>In my unit tests I need to call a private method to set my fixtures to a given state. On the other hand, I'd rather not make this method public. How do I go about this?</p>