* * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Symfony\CS\Tests\Fixer\PSR2; use Symfony\CS\Tests\Fixer\AbstractFixerTestBase; /** * @author Dariusz RumiƄski * @author SpacePossum */ class LowercaseConstantsFixerTest extends AbstractFixerTestBase { /** * @dataProvider provideGeneratedCases */ public function testFixGeneratedCases($expected, $input = null) { $this->makeTest($expected, $input); } public function provideGeneratedCases() { $cases = array(); foreach (array('true', 'false', 'null') as $case) { $cases [] = array( sprintf('makeTest($expected, $input); } public function provideCases() { return array( array( ''), array('makeTest($expected, $input); } public function provide54Cases() { return array( array('