/** * Test getter and setter of reason property. * * @covers AppBundle\Entity\Validation::setReason() * @covers AppBundle\Entity\Validation::getReason() */ public function testSetReason() { $expected = 'foo'; $this->validation->setReason($expected); $this->assertEquals($expected, $this->validation->getReason()); }