namespace Drupal\Tests\Component\Utility;
-use Drupal\Tests\UnitTestCase;
use Drupal\Component\Utility\Crypt;
+use PHPUnit\Framework\TestCase;
/**
* Tests random byte generation fallback exception situations.
*
* @coversDefaultClass \Drupal\Component\Utility\Crypt
*/
-class CryptRandomFallbackTest extends UnitTestCase {
+class CryptRandomFallbackTest extends TestCase {
static protected $functionCalled = 0;
namespace Drupal\Component\Utility;
-use \Drupal\Tests\Component\Utility\CryptRandomFallbackTest;
+use Drupal\Tests\Component\Utility\CryptRandomFallbackTest;
/**
* Defines a function in same namespace as Drupal\Component\Utility\Crypt.