* 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\Tests\Test\AbstractFixerTestCase; /** * @internal * * @author Jefersson Nathan * * @covers \PhpCsFixer\Fixer\PhpUnit\PhpUnitSizeClassFixer */ final class PhpUnitSizeClassFixerTest extends AbstractFixerTestCase { /** * @dataProvider provideFixCases * * @param string $expected * @param null|mixed $input * @param array $config */ public function testFix($expected, $input = null, $config = []) { $this->fixer->configure($config); $this->doTest($expected, $input); } public function provideFixCases() { return [ 'It does not change normal classes' => [ ' [ ' [ ' 'large'], ], 'It adds an @small tag to a class that already has a doc block' => [ ' [ ' [ ' [ ' [ ' [ ' [ ' [ ' [ ' [ '