title: symfony phpUnit functional test printing response instead of checking test cases
body: <p>I am using Symfony 1.4<br>
  Used phpunit function test</p>
  
  <pre><code>&lt;?php
  
  include(dirname(__FILE__).'/../../bootstrap/functional.php');
  
  $browser = new sfTestFunctional(new sfBrowser());
  
  $browser-&gt;
    get('/api/v2/membership/membershipDetails')-&gt;
  
    with('request')-&gt;begin()-&gt;
      isParameter('module', 'api')-&gt;
      isParameter('action', 'apiRequest')-&gt;
    end()-&gt;
  
    with('response')-&gt;begin()-&gt;
      isStatusCode(200)-&gt;
    end()
  ;
  </code></pre>
  
  <p>It is expected to give output like</p>
  
  <pre><code>ok 1 - request parameter module is api
  ok 2 - request parameter action is apiRequest
  ok 3 - status code is 200
  1..3
  # Looks like everything went fine.
  </code></pre>
  
  <p>but my code giving API response as output-</p>
  
  <pre><code>    # get /api/v2/membership/membershipDetails
      {"responseStatusCode":"1","responseMessage":"Something went wrong. Please try again later.","AUTHCHECKSUM":null,"hamburgerDetails":null,"phoneDetails":null}
  # Looks like everything went fine.
  </code></pre>
  
  <p>I tried to change some symfony files and found-<br></p>
  
  <pre><code>lib/vendor/symfony/utils/sfBrowser.class.php&lt;br&gt;
  line #44  -  $this-&gt;context-&gt;getController()-&gt;dispatch();
  </code></pre>
  
  <p><br>
  echo die before this line is working, but just after this line echo die not working.<br>
  SomeWhere die is used in this function, which i am unable to find out. Please help in this regards.</p>