public function testEntry() { $valuePickerFeature = new ValuePickerFeature(); $entry = new Entry(); $this->assertNull($valuePickerFeature->getEntry()); $this->assertSame($valuePickerFeature, $valuePickerFeature->setEntry($entry)); $this->assertEquals($entry, $valuePickerFeature->getEntry()); $this->assertNotNull($entry->getId()); }
/** * @see ScriptFeatureable::getScriptFeatures() */ public function getScriptFeatures() { return ScriptFeature::collect($this->feature, $this->getLabel(), $this->feature->getEntry()); }