public function testSetGetOperation() { $operation = new Operation(); $operation->setName("psych op"); $this->phase->setOperation($operation); $this->assertEquals("psych op", $this->phase->getOperation()->getName()); }
/** * Performs the Task needed for the given phase * * @param Phase $phase */ public function performTaskFor(Phase $phase) { /** @var EquipmentInterface $equipment */ $equipment = $this->getEquipmentOf($phase->getOperation()->getUnitProcedure()->getUnit()); $equipment->performTask($phase); }