/** * @covers Robo47_Log_Writer_DoctrineTable::getOptions */ public function testGetOptions() { $options = $this->_writer->getOptions(); $this->assertArrayHasKey('columnMap', $options, 'Options misses key columnMap'); $this->assertArrayHasKey('table', $options, 'Options misses key table'); $this->assertSame($options['table'], $this->_writer->getTable(), 'table is wrong'); $this->assertSame($options['columnMap'], $this->_writer->getColumnMap(), 'columnMap is wrong'); }