title: PHPUnit Testing Errors
body: <p>am trying to write my first test in PHPUnit in Netbeans. I tried to follow the example on the Netbeans website <a href="http://netbeans.org/kb/docs/php/phpunit.html" rel="nofollow noreferrer">http://netbeans.org/kb/docs/php/phpunit.html</a> but I keep getting the error below. I dont have a clue what is happening as I did everything just the way I was instructed on the website. </p>
  
  <pre><code>&gt; PHP Fatal error:  Class 'Calculator' not found in C:\wamp\www\Calculator\tests\CalculatorTest.php on line 18
  PHP Stack trace:
  PHP   1. {main}() C:\wamp\bin\php\php5.3.8\phpunit:0
  PHP   2. PHPUnit_TextUI_Command::main() C:\wamp\bin\php\php5.3.8\phpunit:46
  PHP   3. PHPUnit_TextUI_Command-&gt;run() C:\wamp\bin\php\php5.3.8\pear\PHPUnit\TextUI\Command.php:130
  PHP   4. PHPUnit_TextUI_TestRunner-&gt;doRun() C:\wamp\bin\php\php5.3.8\pear\PHPUnit\TextUI\Command.php:192
  PHP   5. PHPUnit_Framework_TestSuite-&gt;run() C:\wamp\bin\php\php5.3.8\pear\PHPUnit\TextUI\TestRunner.php:325
  PHPUnit 3.6.12 by Sebastian Bergmann.
  PHP   6. PHPUnit_Framework_TestSuite-&gt;run() C:\wamp\bin\php\php5.3.8\pear\PHPUnit\Framework\TestSuite.php:705
  PHP   7. PHPUnit_Framework_TestSuite-&gt;runTest() C:\wamp\bin\php\php5.3.8\pear\PHPUnit\Framework\TestSuite.php:745
  PHP   8. PHPUnit_Framework_TestCase-&gt;run() C:\wamp\bin\php\php5.3.8\pear\PHPUnit\Framework\TestSuite.php:772
  PHP   9. PHPUnit_Framework_TestResult-&gt;run() C:\wamp\bin\php\php5.3.8\pear\PHPUnit\Framework\TestCase.php:751
  PHP  10. PHPUnit_Framework_TestCase-&gt;runBare() C:\wamp\bin\php\php5.3.8\pear\PHPUnit\Framework\TestResult.php:649
  PHP  11. CalculatorTest-&gt;setUp() C:\wamp\bin\php\php5.3.8\pear\PHPUnit\Framework\TestCase.php:801
  </code></pre>
  
  <p>Any help would be appreciated to help me understand what am doing wrong please.</p>
  
  <p>Screen shot
  <img src="https://i.stack.imgur.com/D2x9j.png" alt="enter image description here"></p>