title: PHPUnit not detecting missing argument
body: <p>I have the follwoing configuration:</p>
  
  <ol>
  <li>PHP 5.3.8 from xampp 1.7.7</li>
  <li>PHPUnit 3.7.13. </li>
  </ol>
  
  <p>I am running my tests from both the commandline and from Netbeans on Windows XP.
  Here is my code.</p>
  
  <pre class="lang-php prettyprint-override"><code>class Wrapper
  {
      public function wrap($text, $maxLength) {
          if(strlen($text) &gt; $maxLength)
              return substr($text, 0, $maxLength) . "\n" . substr($text, $maxLength);
          return $text;
      }
  }
  
  class WrapperTest extends PHPUnit_Framework_TestCase
  {
      protected $wrapper;
      protected function setUp() {
          $this-&gt;wrapper = new Wrapper;
      }
  
      public function testWrap() {
          $text = '';
          $this-&gt;assertEquals($text, $this-&gt;wrapper-&gt;wrap($text));
      }
  }
  </code></pre>
  
  <p>The problem is that the test passes although the function is obviously missing an argument. When using Ubuntu, the test fails as expected.</p>