public function testSupportsAttribute($attribute, $expectedResult) { $voter = new CoreVoter($this->repository); $this->assertSame($expectedResult, $voter->supportsAttribute($attribute)); }