add to declaration: use PHPUnit\Framework\TestCase replace "extends PHPUnit_Framework_TestCase" with "extends TestCase"