public function setUp()
 {
     $this->objectManager = $this->prophesize(ObjectManager::class);
     $this->roleRepository = $this->prophesize(RoleRepositoryInterface::class);
     $this->accessControlRepository = $this->prophesize(AccessControlRepositoryInterface::class);
     $this->maskConverter = $this->prophesize(MaskConverterInterface::class);
     $this->doctrineAccessControlProvider = new DoctrineAccessControlProvider($this->objectManager->reveal(), $this->roleRepository->reveal(), $this->accessControlRepository->reveal(), $this->maskConverter->reveal());
 }
 public function setUp()
 {
     $this->accessControlManager = $this->prophesize(AccessControlManagerInterface::class);
     $this->securityChecker = $this->prophesize(SecurityCheckerInterface::class);
     $this->roleRepository = $this->prophesize(RoleRepositoryInterface::class);
     $this->viewHandler = $this->prophesize(ViewHandlerInterface::class);
     $this->permissionController = new PermissionController($this->accessControlManager->reveal(), $this->securityChecker->reveal(), $this->roleRepository->reveal(), $this->viewHandler->reveal());
 }