title: How do I deal with Class 'PHPUnit_Framework_TestCase' not found error?
body: <p>I am trying to integrate to visa direct API. I decided to to it in PHP. However, as I am doing some tests from a sample code they have provided, I got stuck at <code>Fatal error: Class 'PHPUnit_Framework_TestCase' not found</code> error. </p>
  
  <p>I have PHPUnit installed since when I check via <code>phpunit --version</code> ..<code>I get PHPUnit 5.6.2 by Sebastian Bergmann and contributors.</code></p>
  
  <p>Below is my code using PHPUnit, would someone direct me where my mistake is? Thank you.</p>
  
  <pre><code>&lt;?php
  class MVisaTest extends \PHPUnit_Framework_TestCase {
  
      public function setUp() {
          $this-&gt;visaAPIClient = new VisaAPIClient;
          $strDate = date('Y-m-d\TH:i:s', time());
          $this-&gt;mVisaTransactionRequest = json_encode ([
              "acquirerCountryCode" =&gt; "643",
              "acquiringBin" =&gt; "400171",
              "amount" =&gt; "124.05",
              "businessApplicationId" =&gt; "CI",
              "cardAcceptor" =&gt; [
              "address" =&gt; [
              "city" =&gt; "Bangalore",
              "country" =&gt; "IND"
          ],
              "idCode" =&gt; "ID-Code123",
              "name" =&gt; "Card Accpector ABC"
          ],
              "localTransactionDateTime" =&gt; $strDate,
              "merchantCategoryCode" =&gt; "4829",
              "recipientPrimaryAccountNumber" =&gt; "4123640062698797",
              "retrievalReferenceNumber" =&gt; "430000367618",
              "senderAccountNumber" =&gt; "4541237895236",
              "senderName" =&gt; "Mohammed Qasim",
              "senderReference" =&gt; "1234",
              "systemsTraceAuditNumber" =&gt; "313042",
              "transactionCurrencyCode" =&gt; "USD",
              "transactionIdentifier" =&gt; "381228649430015"
          ]);
      }
  
      public function testMVisaTransactions() {
          $baseUrl = "visadirect/";
          $resourcePath = "mvisa/v1/cashinpushpayments";
          $statusCode = $this-&gt;visaAPIClient-&gt;doMutualAuthCall ( 'post', $baseUrl.$resourcePath, 'M Visa Transaction Test', $this-&gt;mVisaTransactionRequest );
          $this-&gt;assertEquals($statusCode, "200");
      }
  }
  </code></pre>