/** * @dataProvider providerCamelizeWrongSecondParam * @expectedException \PHPUnit_Framework_Error_Warning * @expectedExceptionMessage Second argument passed to the uncamelize() must be a string of one character */ public function testUnCamelizeWrongSecondParam($delimiter) { $t = new \Test\Strings(); $t->uncamelize('CameLiZe', $delimiter); }