title: PHPUnit - Failed asserting two strings are equal
body: <p>I have a unit test where I am trying to test the output of <code>NumberFormatter</code>.</p>
  
  <p>A simplified version of my code is:</p>
  
  <pre><code>public function testGetFormattedPrice()
  {
      $formatter = NumberFormatter::create(
          "de_DE",
          NumbererFormatter::CURRENCY
      );
  
      $this-&gt;assertEquals(
          '16,66 €',
          $formatter-&gt;formatCurrency(16.66, "EUR")
      );
  }
  </code></pre>
  
  <p>This results in a failure:</p>
  
  <pre><code>Failed asserting that two strings are equal.
  --- Expected
  +++ Actual
  @@ @@
  -'16,66 €'
  +'16,66 €'
  </code></pre>
  
  <p>I am assuming this is related to the Euro symbol (maybe character encoding) or some sort of hidden bytes in the string, but not really sure how to check this?</p>
  
  <p>Can anyone give me some advice on how to debug this issue, or what might be the possible cause?</p>
  
  <p>Cheers,</p>
  
  <p>Mo</p>