ProjectTemplateHelper example

use PHPUnit\Framework\TestCase;
use Symfony\Component\Templating\Tests\Fixtures\ProjectTemplateHelper;

/** * @group legacy */
class HelperTest extends TestCase
{
    public function testGetSetCharset()
    {
        $helper = new ProjectTemplateHelper();
        $helper->setCharset('ISO-8859-1');
        $this->assertSame('ISO-8859-1', $helper->getCharset(), '->setCharset() sets the charset set related to this helper');
    }
}
Home | Imprint | This part of the site doesn't use cookies.