Exemple #1
0
 public function testStartsWith()
 {
     $startsWith = Utils::createStartWithFunction('prefix');
     $this->assertTrue(is_callable($startsWith));
     $this->assertTrue($startsWith('prefixed'));
     $this->assertFalse($startsWith('not prefixed'));
 }