示例#1
0
 public function testIsNotEnabled()
 {
     $this->_scopeConfig->expects($this->once())->method('getValue')->will($this->returnValue(null));
     $this->assertTrue(is_null($this->_helper->isEnabled()));
 }
示例#2
0
 public function testIsNotEnabled()
 {
     $this->scopeConfigMock->expects($this->once())->method('getValue')->willReturn(null);
     $this->assertTrue(null === $this->helper->isEnabled());
 }