public function testValidateWithNonexistentValidName()
 {
     $this->_model->getResource()->expects($this->any())->method('validate')->will($this->returnValue(true));
     $this->_model->setAttributeSetName('nonexistent_name');
     $this->assertTrue($this->_model->validate());
 }
 /**
  * {@inheritdoc}
  */
 public function setAttributeSetName($attributeSetName)
 {
     $pluginInfo = $this->pluginList->getNext($this->subjectType, 'setAttributeSetName');
     if (!$pluginInfo) {
         return parent::setAttributeSetName($attributeSetName);
     } else {
         return $this->___callPlugins('setAttributeSetName', func_get_args(), $pluginInfo);
     }
 }