예제 #1
0
 /**
  * @param $paramToClear
  * @dataProvider clearHelperDataDataProvider
  */
 public function testClearHelperData($paramToClear)
 {
     $storage = new \Magento\Framework\Session\Storage('default', [$paramToClear => 'test_data']);
     $this->_session = $this->_helper->getObject('Magento\\Checkout\\Model\\Session', ['storage' => $storage]);
     $this->_session->clearHelperData();
     $this->assertNull($this->_session->getData($paramToClear));
 }