surroundWith() public static method

public static surroundWith ( $character )
Beispiel #1
0
 /**
  * @test
  */
 public function shouldSurroundStringWithGivenCharacter()
 {
     //when
     $result = Functions::call(Functions::surroundWith('.'), 'test');
     //then
     $this->assertEquals('.test.', $result);
 }