public function setup() { parent::setUp(); $this->roleAcl = new RoleCommentAcl($this->securityContext, $this->createRole, $this->viewRole, $this->editRole, $this->deleteRole, ''); $this->passObject = $this->getMock('FOS\\CommentBundle\\Model\\CommentInterface'); }
public function setUp() { parent::setUp(); $this->roleAcl = new RoleVoteAcl($this->authorizationChecker, $this->createRole, $this->viewRole, $this->editRole, $this->deleteRole, ''); $this->passObject = $this->getMock('FOS\\CommentBundle\\Model\\VoteInterface'); }