Change record status: 
Project: 
Introduced in branch: 
10.2.x
Introduced in version: 
10.2.0
Description: 

The method \Drupal\Tests\RandomGeneratorTrait::randomStringValidate() is deprecated. It is just a callback that is no longer called since the entire implementation moved to the new static methods in \Drupal\TestTools\Random.

You can use \Drupal\TestTools\Random::stringValidate() instead.

Before:
$this->randomStringValidate($string);

After:
use Drupal\TestTools\Random;
[...]
Random::stringValidate($string)

Impacts: 
Module developers