Exemplo n.º 1
0
 /**
  * Test...
  *
  * @param   string   $subject  @todo
  * @param   string   $mask     @todo
  * @param   integer  $start    @todo
  * @param   integer  $length   @todo
  * @param   string   $expect   @todo
  *
  * @return  array
  *
  * @covers        Windwalker\String\Utf8String::strspn
  * @dataProvider  seedTestStrspn
  * @since         1.0
  */
 public function testStrspn($subject, $mask, $start, $length, $expect)
 {
     $actual = Utf8String::strspn($subject, $mask, $start, $length);
     $this->assertEquals($expect, $actual);
 }