/** * @dataProvider providerHasIndexThrowsExceptionWhenInvalidValuePassed * @expectedException zibo\ZiboException */ public function testHasIndexThrowsExceptionWhenInvalidValuePassed($value) { $table = new ModelTable('table'); $table->hasIndex($value); }