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