/** * @expectedException \Dive\Schema\SchemaException */ public function testAddTableIndexThrowsInvalidIndexException() { $this->schema->addTableIndex('user', 'UQ_username_password', array()); }
/** * @expectedException \Dive\Schema\SchemaException */ public function testAddTableIndexThrowsInvalidIndexException() { $this->schema->addTableIndex('user', 'UQ_username_password', array()); }