protected $user;
protected $em;
protected $logHandler;
+ protected $contentProxy;
+
private function getWallabagV1Import($unsetUser = false)
{
->disableOriginalConstructor()
->getMock();
- $wallabag = new WallabagV1Import($this->em);
+ $this->contentProxy = $this->getMockBuilder('Wallabag\CoreBundle\Helper\ContentProxy')
+ ->disableOriginalConstructor()
+ ->getMock();
+
+ $wallabag = new WallabagV1Import($this->em,$this->contentProxy);
$this->logHandler = new TestHandler();
$logger = new Logger('test', array($this->logHandler));