/**
  * The Null appender does nothing - nothing to assert.
  * Just here for the sake of completness and a good testing ratio :-)
  */
 public function testActivateOptions()
 {
     $appender = new LoggerAppenderNull("TEST");
     $appender->activateOptions();
     $appender->append(null);
     $appender->close();
 }
 /**
  * The Null appender does nothing - nothing to assert.
  * Just here for the sake of completness and a good testing ratio :-)
  */
 public function testActivateOptions()
 {
     $event = new LoggerLoggingEvent("LoggerAppenderNullTest", new Logger("TEST"), LoggerLevel::getLevelInfo(), "testmessage");
     $appender = new LoggerAppenderNull("TEST");
     $appender->activateOptions();
     $appender->append($event);
     $appender->close();
 }
 public function testRequiresNoLayout()
 {
     $appender = new LoggerAppenderNull("LoggerAppenderTest");
     $actual = $appender->getLayout();
     $this->assertNull($actual);
 }
 public function testRequiresLayout()
 {
     $appender = new LoggerAppenderNull();
     self::assertFalse($appender->requiresLayout());
 }