public function testSupportsAttribute() { $manager = new AccessDecisionManager(array($this->getVoterSupportsAttribute(true), $this->getVoterSupportsAttribute(false))); $this->assertTrue($manager->supportsAttribute('foo')); $manager = new AccessDecisionManager(array($this->getVoterSupportsAttribute(false), $this->getVoterSupportsAttribute(false))); $this->assertFalse($manager->supportsAttribute('foo')); }