public function setUp()
 {
     parent::setUp();
     $this->registry = $this->prophesize(ManagerRegistry::class);
     $this->manager = $this->prophesize(DocumentManagerInterface::class);
     $this->registry->getManager()->willReturn($this->manager->reveal());
 }
 public function setUp()
 {
     parent::setUp();
     $this->session = $this->prophesize(SessionInterface::class);
 }