/** * @dataProvider providerCamelizeWrongSecondParam * @expectedException \PHPUnit_Framework_Error_Warning * @expectedExceptionMessage The second argument passed to the camelize() must be a string containing at least one character */ public function testCamelizeWrongSecondParam($delimiter) { $t = new \Test\Strings(); $t->camelize('CameLiZe', $delimiter); }