PhpGitHooks\Module\JsonLint\Tests\Infrastructure\JsonLintProcessorTrait::shouldProcessJsonLint PHP Метод

shouldProcessJsonLint() защищенный Метод

protected shouldProcessJsonLint ( string $file, string | null $returnError )
$file string
$returnError string | null
    protected function shouldProcessJsonLint($file, $returnError)
    {
        $this->getJsonLintProcessor()->shouldReceive('process')->once()->with($file)->andReturn($returnError);
    }