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