Why I\'m getting this PHP error?
Fatal error: Class \'PHPUnit_Framework_TestCase\' not found in ...
For higher version of phpunit such as 6.4 You must use the namespace PHPUnit\Framework\TestCase
use TestCase instead PHPUnit_Framework_TestCase
// use the following namespace
use PHPUnit\Framework\TestCase;
// extend using TestCase instead PHPUnit_Framework_TestCase
class SampleTest extends TestCase {
}