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()
 {
     parent::setUp();
     $this->aclProvider = $this->prophesize(MutableAclProviderInterface::class);
     $this->maskConverter = $this->prophesize(MaskConverterInterface::class);
     $this->securityIdentity = new RoleSecurityIdentity('ROLE_SULU_ADMINISTRATOR');
     $this->acl = $this->prophesize(MutableAclInterface::class);
     $this->eventDispatcher = $this->prophesize(EventDispatcherInterface::class);
     $this->accessControlManager = new SymfonyAccessControlManager($this->aclProvider->reveal(), $this->maskConverter->reveal(), $this->eventDispatcher->reveal());
 }
 public function setUp()
 {
     $this->maskConverter = $this->prophesize(MaskConverterInterface::class);
     $this->eventDispatcher = $this->prophesize(EventDispatcherInterface::class);
     $this->accessControlManager = new AccessControlManager($this->maskConverter->reveal(), $this->eventDispatcher->reveal());
 }