title: PHPUnit - The test case was unexpectedly terminated: Debug Error: Class not found: Interface not found
body: <p>I get this class of error:  <code>Debug Error: Class/Interface not found</code>
  And more abstract one from PHPUnit: <code>The test case was unexpectedly terminated.</code></p>
  
  <p>Specific Example:</p>
  
  <pre><code>Debug Error: /vendor/bjyoungblood/bjy-authorize/src/BjyAuthorize/Provider/Role/ZendDb.php line 22 - Interface 'BjyAuthorize\Provider\Role\ProviderInterface' not found
  </code></pre>
  
  <h1>Steps to Reproduce</h1>
  
  <p>using Zend Studio 10.5.0 on PHP Version - 5.4 on Windows 7 64</p>
  
  <ul>
  <li>Create a new workspace (File -> Switch Workspace -> Other).  You can always switch back.</li>
  <li>Create a Local PHP Project (File -> New -> Local PHP Project)</li>
  <li>Switch to directory where the project files are located</li>
  <li>From command line or console, Run:</li>
  </ul>
  
  <pre class="lang-bsh prettyprint-override"><code>php composer.phar self-update
  php composer.phar update
  php composer.phar require bjyoungblood/bjy-authorize:1.4.*
  </code></pre>
  
  <ul>
  <li>In Studio, go to the <code>/vendor/bjyoungblood/bjy-authorize/tests</code> folder, Right Click -> Run As -> PHPUnit Test</li>
  <li>A similar error will be issued.</li>
  </ul>
  
  <p>In my case it was:</p>
  
  <pre><code>Debug Error: /vendor/bjyoungblood/bjy-authorize/tests/BjyAuthorizeTest/Provider/Role/ZendDbTest.php line 38 - Class 'BjyAuthorize\Provider\Role\ZendDb' not found
  </code></pre>
  
  <p>The class is located here:  <code>/vendor/bjyoungblood/bjy-authorize/BjyAuthorize/Provider/Role/ZendDb.php</code>, but PHPUnit is not finding it.</p>
  
  <p><strong>Other observations</strong></p>
  
  <p>It appears to me that PHPUnit is not namespace aware, or maybe it is an autoloader issue, or PHPUnit Bootstrap.php issue, or PHPUnit TestConfiguration.php issue. </p>