/** * @dataProvider providerHasForeignKeyThrowsExceptionWhenInvalidValuePassed * @expectedException zibo\ZiboException */ public function testHasForeignKeyThrowsExceptionWhenInvalidValuePassed($value) { $table = new Table('table'); $table->hasForeignKey($value); }