File "ResultReflection.php"

Full Path: /var/www/html/back/vendor/nunomaduro/collision/src/Adapters/Phpunit/Support/ResultReflection.php
File size: 395 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

declare(strict_types=1);

namespace NunoMaduro\Collision\Adapters\Phpunit\Support;

use PHPUnit\TestRunner\TestResult\TestResult;

/**
 * @internal
 */
final class ResultReflection
{
    /**
     * The number of processed tests.
     */
    public static function numberOfTests(TestResult $testResult): int
    {
        return (fn () => $this->numberOfTests)->call($testResult);
    }
}