Example #1
0
 /**
  * @dataProvider containsAnyProvider()
  */
 public function testcontainsAny($expected, $haystack, $needles, $caseSensitive = true, $encoding = null)
 {
     $result = S::containsAny($haystack, $needles, $caseSensitive, $encoding);
     $this->assertInternalType('boolean', $result);
     $this->assertEquals($expected, $result);
 }