/** * @test * @group unit */ public function get_poll_id_returns_correct_id() { $id = new PollId(); $event = new OptionVotedEvent($id, 1); $this->assertEquals($id, $event->getPollId()); }
/** * @test * @group unit */ public function get_poll_id_returns_correct_id() { $id = new PollId(); $event = new OptionVotedEvent($id, 1); $this->assertEquals($id, $event->getPollId()); }