Exemplo n.º 1
0
 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());
 }