Beispiel #1
0
 public function testFormattingIsNotSupported()
 {
     $writer = new MongoDBWriter($this->mongo, $this->database, $this->collection);
     $writer->setFormatter($this->getMock('Zend\\Log\\Formatter\\FormatterInterface'));
     $this->assertAttributeEmpty('formatter', $writer);
 }