public function testDecoratorDestruct() { new LogDecorator(new Component(), $this->monolog); $this->assertTrue($this->handler->hasDebugRecords()); $this->assertFalse($this->handler->hasInfoRecords()); $this->assertCount(2, $this->handler->getRecords()); }