/** * Tests set/getFormat * * @author Nikos Dimopoulos <*****@*****.**> * @since 2012-09-17 */ public function testLoggerAdapterFileSetGetFormat() { $formatter = new Line(); $format = '%type%|%date%|%message%'; $formatter->setFormat($format); $actual = $formatter->getFormat(); $expected = $format; $this->assertEquals($expected, $actual, 'set/getFormat does not correctly set/get the format'); }
public function getFormat() { return parent::getFormat(); }