SHARE
TWEET

Untitled

a guest Jul 12th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public function setUp():void {
  2.             parent::setUp();
  3.             $this->channel_store = $this->createMock('ChannelStore');
  4.             $this->application = $this->getMockBuilder(JApplication::class)
  5.                                 ->setMethods(['get', 'set'])
  6.                                 ->getMock();
  7.             JFactory::$application = $this->application;
  8.  
  9.             $this->log = $this->getMockBuilder(JLog::class)
  10.                        ->setMethods(['add'])
  11.                        ->getMock();
  12.  
  13.             //  JLog = $this->log; ???
  14.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top