Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function setUp():void {
- parent::setUp();
- $this->channel_store = $this->createMock('ChannelStore');
- $this->application = $this->getMockBuilder(JApplication::class)
- ->setMethods(['get', 'set'])
- ->getMock();
- JFactory::$application = $this->application;
- $this->log = $this->getMockBuilder(JLog::class)
- ->setMethods(['add'])
- ->getMock();
- // JLog = $this->log; ???
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement