<?php declare(strict_types=1);

namespace Rector\DeadCode\Tests\Rector\ClassMethod\RemoveEmptyClassMethodRector;

use Rector\DeadCode\Rector\ClassMethod\RemoveEmptyClassMethodRector;
use Rector\Testing\PHPUnit\AbstractRectorTestCase;

final class RemoveEmptyClassMethodRectorTest extends AbstractRectorTestCase
{
    public function test(): void
    {
        $this->doTestFiles([
            __DIR__ . '/Fixture/simple.php.inc',
            __DIR__ . '/Fixture/with_parent.php.inc',
            __DIR__ . '/Fixture/with_interface.php.inc',
            __DIR__ . '/Fixture/keep_abstract_method.php.inc',
            __DIR__ . '/Fixture/keep_protected_child_method.php.inc',
        ]);
    }

    protected function getRectorClass(): string
    {
        return RemoveEmptyClassMethodRector::class;
    }
}
