/** * Tests the getDefinition() method. */ public function testGetDefinition() { $definitions = $this->discovery->getDefinitions(); // Test the getDefinition() method. foreach ($this->expectedKeys as $expected_key) { $this->assertEquals($definitions[$expected_key], $this->discovery->getDefinition($expected_key)); } }
/** * {@inheritdoc} */ public function getDefinitions() { return parent::getDefinitions() + $this->decorated->getDefinitions(); }