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