/** * @covers Kunstmaan\RedirectBundle\Entity\Redirect::getDomain * @covers Kunstmaan\RedirectBundle\Entity\Redirect::setDomain */ public function testGetSetDomain() { $this->object->setDomain('domain.com'); $this->assertEquals('domain.com', $this->object->getDomain()); }