surroundWith() public static method

public static surroundWith ( $character )
コード例 #1
0
ファイル: FunctionsTest.php プロジェクト: letsdrink/ouzo
 /**
  * @test
  */
 public function shouldSurroundStringWithGivenCharacter()
 {
     //when
     $result = Functions::call(Functions::surroundWith('.'), 'test');
     //then
     $this->assertEquals('.test.', $result);
 }