render() public method

Changes the case of the input string
public render ( string $value = null, string $mode = self::CASE_UPPER ) : string
$value string The input value. If not given, the evaluated child nodes will be used
$mode string The case to apply, must be one of this' CASE_* constants. Defaults to uppercase application
return string the altered string.
 /**
  * @test
  * @dataProvider conversionTestingDataProvider
  */
 public function viewHelperConvertsCorrectly($input, $mode, $expected)
 {
     $this->assertSame($expected, $this->viewHelper->render($input, $mode), sprintf('The conversion with mode "%s" did not perform as expected.', $mode));
 }