public function testCheckId()
 {
     $this->_model = $this->getCategoryByName('Category 1.1.1');
     $categoryId = $this->_model->getId();
     $this->assertEquals($categoryId, $this->_model->checkId($categoryId));
     $this->assertFalse($this->_model->checkId(111));
 }
 public function testCheckId()
 {
     $this->assertEquals(4, $this->_model->checkId(4));
     $this->assertFalse($this->_model->checkId(111));
 }
 /**
  * {@inheritdoc}
  */
 public function checkId($id)
 {
     $pluginInfo = $this->pluginList->getNext($this->subjectType, 'checkId');
     if (!$pluginInfo) {
         return parent::checkId($id);
     } else {
         return $this->___callPlugins('checkId', func_get_args(), $pluginInfo);
     }
 }