public function testBroadcastLog() { $this->assertTrue($this->logManager->log("'Pre heat' at 52°C")); $this->assertTrue($this->logManager->log("'Infusion' at 52°C")); $this->assertTrue($this->logManager->log("'Beta amylase' at 62°C")); $this->assertTrue($this->logManager->log("'Alpha amylase' at 72°C")); $this->assertTrue($this->logManager->log("'Stop' at 78°C")); $this->assertTrue($this->logManager->log("'Spool' at 80°C")); }
/** * @param BatchFinishEvent $event */ public function onBatchFinish(BatchFinishEvent $event) { $batch = $event->getBatch(); $this->logManager->log('Batch finished'); }