public function testGetState()
 {
     $state = $this->_model->getState();
     $this->assertInstanceOf('Magento\\Catalog\\Model\\Layer\\State', $state);
     $this->assertSame($state, $this->_model->getState());
     $state = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create('Magento\\Catalog\\Model\\Layer\\State');
     $this->_model->setState($state);
     // $this->_model->setData('state', state);
     $this->assertSame($state, $this->_model->getState());
 }
 /**
  * {@inheritdoc}
  */
 public function getState()
 {
     $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getState');
     if (!$pluginInfo) {
         return parent::getState();
     } else {
         return $this->___callPlugins('getState', func_get_args(), $pluginInfo);
     }
 }