phpunit + symfony The Error Handler has Changed
<p>I wrote some PHP Unit Tests, that need User Authentication for a Request. 
For that i added some parameterse to createClient:</p>

<pre><code>$this-&gt;client = static::createClient(array(), array(
    'PHP_AUTH_USER' =&gt; TEST_USER_NAME,
    'PHP_AUTH_PW' =&gt; TEST_USER_PASS,
));
</code></pre>

<p><code>TEST_USER_NAME</code> and <code>TEST_USER_PASS</code> containing the Login Credentials. 
If I do a request like that</p>

<pre><code>$parameters = array(
    "object" =&gt; self::TEST_OBJECT_ID,
);

$headers = array(
    'HTTP_API_AUTHORIZATION' =&gt; 'API_AUTH_KEY',
);

$this-&gt;client-&gt;request('POST', '/api/v4/object/get', $parameters, array(), $headers);
$response = $this-&gt;client-&gt;getResponse();
$this-&gt;assertEquals(200, $response-&gt;getStatusCode(), $response-&gt;getContent());
</code></pre>

<p>The test says OK, but after that this Message appears: </p>

<blockquote>
  <p>THE ERROR HANDLER HAS CHANGED!</p>
</blockquote>

<p>If i change the Credentials to something wrong, the message does not appear. 
Any suggestions how i can prevent that or remove this message?</p>