/** * Tests that a nested action can be retrieved by UUID. */ public function testLookupAction() { $this->actionSet->addExpressionObject($this->testActionExpression->reveal()); $uuid = $this->actionSet->getIterator()->key(); $this->assertSame($this->testActionExpression->reveal(), $this->actionSet->getExpression($uuid)); $this->assertFalse($this->actionSet->getExpression('invalid UUID')); }