title: Using PHPUnit to test helper functions
body: <p>Let's say I want to test a simple helper that takes a class name as an argument and makes a redirection. </p>
  
  <p>How am I supposed to test this if the function is called in many places from inside a couple of controllers? Should I test every class name that was passed as a parameter in the whole code (write them in the provider function myself)?  Or is there a magical function which does that for me?</p>