public function testFetchColWithEmptyTable() { $this->_select->expects($this->once())->method('columns')->with(array('col'), false); $this->_table->method('selectWith')->with($this->_select)->willReturn(array()); $this->assertSame(array(), $this->_table->fetchCol('col')); }