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