Esempio n. 1
0
 /**
  * Test...
  *
  * @param   string  $haystack  @todo
  * @param   string  $needle    @todo
  * @param   string  $expect    @todo
  *
  * @return  array
  *
  * @covers        Windwalker\String\Utf8String::stristr
  * @dataProvider  seedTestStristr
  * @since         1.0
  */
 public function testStristr($haystack, $needle, $expect)
 {
     $actual = Utf8String::stristr($haystack, $needle);
     $this->assertEquals($expect, $actual);
 }