public function hasRoleReturnsTrueIfTheSpecifiedRoleIsConfigured() { $this->mockPolicyConfiguration = ['roles' => ['Some.Package:SomeRole' => []]]; $this->assertTrue($this->policyService->hasRole('Some.Package:SomeRole')); }