4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\Form\Test
;
14 class FormRendererTest
extends \PHPUnit_Framework_TestCase
16 public function testHumanize()
18 $renderer = $this->getMockBuilder('Symfony\Component\Form\FormRenderer')
20 ->disableOriginalConstructor()
24 $this->assertEquals('Is active', $renderer->humanize('is_active'));
25 $this->assertEquals('Is active', $renderer->humanize('isActive'));