* Dariusz Rumiński * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace PhpCsFixer\Tests\Fixer\PhpUnit; use PhpCsFixer\Fixer\PhpUnit\PhpUnitTargetVersion; use PhpCsFixer\Tests\Test\AbstractFixerTestCase; /** * @author Dariusz Rumiński * * @internal * * @covers \PhpCsFixer\Fixer\PhpUnit\PhpUnitNamespacedFixer */ final class PhpUnitNamespacedFixerTest extends AbstractFixerTestCase { /** * @param string $expected * @param null|string $input * @param array $config * * @dataProvider provideTestFixCases */ public function testFix($expected, $input = null, array $config = []) { $this->fixer->configure($config); $this->doTest($expected, $input); } public function provideTestFixCases() { return [ [ ' PhpUnitTargetVersion::VERSION_4_8], ], [ ' PhpUnitTargetVersion::VERSION_5_7], ], [ ' PhpUnitTargetVersion::VERSION_6_0], ], [ '