Exemplo n.º 1
0
 /**
  * Test...
  *
  * @param   string   $haystack  @todo
  * @param   string   $needles   @todo
  * @param   integer  $start     @todo
  * @param   integer  $len       @todo
  * @param   string   $expect    @todo
  *
  * @return  array
  *
  * @covers        Windwalker\String\Utf8String::strcspn
  * @dataProvider  seedTestStrcspn
  * @since         1.0
  */
 public function testStrcspn($haystack, $needles, $start, $len, $expect)
 {
     $actual = Utf8String::strcspn($haystack, $needles, $start, $len);
     $this->assertEquals($expect, $actual);
 }