/** * @expectedException \PSX\Exception */ public function testAddConnectionInvalidColumn() { $table = new Table($this->connection, 'foo_table', array()); $table->addConnection('bar', 'bar_table'); }