예제 #1
0
 public function testVerifyIds()
 {
     $ids = $this->_model->verifyIds([1, 2, 3, 4, 100]);
     $this->assertContains(4, $ids);
     $this->assertNotContains(100, $ids);
 }
 public function testVerifyIds()
 {
     $ids = $this->_model->verifyIds($this->_model->getParentIds());
     $this->assertNotContains(100, $ids);
 }
예제 #3
0
 /**
  * {@inheritdoc}
  */
 public function verifyIds(array $ids)
 {
     $pluginInfo = $this->pluginList->getNext($this->subjectType, 'verifyIds');
     if (!$pluginInfo) {
         return parent::verifyIds($ids);
     } else {
         return $this->___callPlugins('verifyIds', func_get_args(), $pluginInfo);
     }
 }