title: Symfony2 phpunit run tests on different environment
body: <p>I'm testing email sending in my symfony2 application, I have custom environment that is properly set with email settings and it's able to actually sent emails. I've created environment <code>test_emails</code> and I want to run my phpunit tests with it.</p>
  
  <p>phpunit doesn't seem to have this functionality, so my only option is probably create custom bootstrap file, but I can't find anywhere how to do it.</p>