/** * @dataProvider providerGetIndexThrowsExceptionWhenInvalidNameProvided * @expectedException zibo\ZiboException */ public function testGetIndexThrowsExceptionWhenInvalidNameProvided($name) { $table = new ModelTable('table'); $table->getIndex($name); }