/** * @dataProvider hasLowerCaseProvider() */ public function testHasLowerCase($expected, $str, $encoding = null) { $result = S::hasLowerCase($str, $encoding); $this->assertInternalType('boolean', $result); $this->assertEquals($expected, $result); }