firstLetterToUpperCase() публичный Метод

Example:: String.firstLetterToUpperCase('hello world') == 'Hello world'
public firstLetterToUpperCase ( string $string ) : string
$string string The input string
Результат string The string with the first letter in uppercase
 /**
  * @test
  * @dataProvider firstLetterToUpperCaseExamples
  */
 public function firstLetterToUpperCaseWorks($string, $expected)
 {
     $helper = new StringHelper();
     $result = $helper->firstLetterToUpperCase($string);
     $this->assertSame($expected, $result);
 }