While trying to validate the custom module compatibility before core upgrade to Drupal 9.4.x receiving "Class PHPUnit\Framework\TestCase not found." as a warning inside upgrade status module when scanned. For Example it is pointing to the class in the warning along with the message.
use Drupal\Core\Controller\ControllerBase;
/* An example controller. */
--> class CustomurlController extends ControllerBase {
/* Returns a render-able array for a test page. */
Please suggest what needs to be changed in the highlighted line or what to be done when we receive warnings with message "Class PHPUnit\Framework\TestCase not found."
Trying to check custom module compatibility and need to receive the compatibility fix messages when running scan through upgrade status module.