/** * Test getter and setter of point property. * * @covers AppBundle\Entity\Vote::setPoint() * @covers AppBundle\Entity\Vote::getPoint() */ public function testPoint() { $expected = 3; $this->vote->setPoint($expected); $this->assertEquals($expected, $this->vote->getPoint()); }