/** * @dataProvider getData */ public function testVote($expectedVote, $object, $attributes, $message) { $this->assertEquals($expectedVote, $this->voter->vote($this->token, $object, $attributes), $message); }