mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-07 11:50:51 +00:00
20 lines
630 B
PHP
20 lines
630 B
PHP
<?php declare(strict_types=1);
|
|
|
|
namespace Rector\Tests\Reconstructor\DependencyInjection;
|
|
|
|
use Rector\Reconstructor\DependencyInjection\InjectAnnotationToConstructorReconstructor;
|
|
use Rector\Tests\AbstractReconstructorTestCase;
|
|
|
|
final class InjectAnnotationToConstructorReconstructorTest extends AbstractReconstructorTestCase
|
|
{
|
|
public function test(): void
|
|
{
|
|
$this->doTestFileMatchesExpectedContent(__DIR__ . '/wrong/wrong.php.inc', __DIR__ . '/correct/correct.php.inc');
|
|
}
|
|
|
|
protected function getReconstructorClass(): string
|
|
{
|
|
return InjectAnnotationToConstructorReconstructor::class;
|
|
}
|
|
}
|