public/phpmyadmin/test/classes/TemplateTest.php
/**
     * Test for render
     *
     * @param string $templateFile   Template name
     * @param array  $renderParams   Render params
     * @param string $expectedResult Expected result
     *
     * @return void
     *
     * @dataProvider providerTestRenderGettext
     */
Test for render
@param string $templateFile   Template name
@param array  $renderParams   Render params
@param string $expectedResult Expected result

@return void


Test for render @param string $templateFile Template name @param array $renderParams Render params @param string $expectedResult Expected result @return void
public function testRenderGettext($templateFile, $renderParams, $expectedResult)
    {
        $this->assertEquals(
            $expectedResult,
            Template::get($templateFile)->render($renderParams)
        );
    }
public function testRenderGettext ( $ templateFile , $ renderParams , $ expectedResult ) { $ this -> assertEquals ( $ expectedResult , Template :: get ( $ templateFile ) -> render ( $ renderParams ) ) ; }
Test for render
 @param string $templateFile   Template name
 @param array  $renderParams   Render params
 @param string $expectedResult Expected result
Test for render @param string $templateFile Template name @param array $renderParams Render params @param string $expectedResult Expected result