/**
  * {@inheritdoc}
  */
 public function setUp()
 {
     parent::setUp();
     $this->stringTranslation = $this->getStringTranslationStub();
     $this->sut = $this->getMockBuilder(AdvancedPluginSelectorBase::class)->setConstructorArgs(array([], $this->pluginId, $this->pluginDefinition, $this->defaultPluginResolver, $this->stringTranslation))->getMockForAbstractClass();
     $this->sut->setSelectablePluginType($this->selectablePluginType);
 }
 /**
  * {@inheritdoc}
  */
 public function setUp()
 {
     parent::setUp();
     $this->responsePolicy = $this->getMockBuilder(KillSwitch::class)->disableOriginalConstructor()->getMock();
     $this->stringTranslation = $this->getStringTranslationStub();
     $this->sut = new Radios([], $this->pluginId, $this->pluginDefinition, $this->defaultPluginResolver, $this->stringTranslation, $this->responsePolicy);
     $this->sut->setSelectablePluginType($this->selectablePluginType);
 }
 /**
  * {@inheritdoc}
  */
 public function setUp()
 {
     parent::setUp();
     $this->responsePolicy = $this->getMockBuilder(KillSwitch::class)->disableOriginalConstructor()->getMock();
     $this->stringTranslation = $this->getStringTranslationStub();
     $this->selectablePluginType->expects($this->any())->method('ensureTypedPluginDefinition')->willReturnArgument(0);
     $this->sut = new SelectList([], $this->pluginId, $this->pluginDefinition, $this->defaultPluginResolver, $this->stringTranslation, $this->responsePolicy);
     $this->sut->setSelectablePluginType($this->selectablePluginType);
 }
 /**
  * {@inheritdoc}
  */
 public function setUp()
 {
     parent::setUp();
     $configuration = [];
     $this->sut = $this->getMockBuilder(PluginSelectorBase::class)->setConstructorArgs([$configuration, $this->pluginId, $this->pluginDefinition, $this->defaultPluginResolver])->getMockForAbstractClass();
 }