/** * @covers Kunstmaan\MediaBundle\Entity\Folder::getOptionLabel */ public function testGetOptionLabel() { $this->object->setName('Test')->setLevel(2); $this->assertEquals('-- Test', $this->object->getOptionLabel()); }