/** * @covers Kunstmaan\NodeBundle\Entity\NodeTranslation::setWeight * @covers Kunstmaan\NodeBundle\Entity\NodeTranslation::getWeight */ public function testSetGetWeight() { $this->object->setWeight(10); $this->assertEquals(10, $this->object->getWeight()); }