public function testGetVoters() { $manager = new AccessDecisionManager(array($voter = $this->getVoterSupportsAttribute(true))); $this->assertSame(array($voter), $manager->getVoters()); }