| 1 | <?php |
||
| 5 | class StringTest extends \PHPUnit_Framework_TestCase |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @test |
||
| 9 | * @param string $string |
||
| 10 | * @param string $delimiter |
||
| 11 | * @param array $expected |
||
| 12 | * @dataProvider trimExplodeEmptyProvider |
||
| 13 | */ |
||
| 14 | public function trimExplodeEmpty($delimiter, $string, $expected) |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @return array |
||
| 21 | */ |
||
| 22 | public static function trimExplodeEmptyProvider() |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @test |
||
| 45 | */ |
||
| 46 | public function startsWith() |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @test |
||
| 55 | */ |
||
| 56 | public function endsWith() |
||
| 62 | } |
||
| 63 |