public function testGetNonQualifiedClassName() { $id = 1; $name = 'Libcaca'; $ug = EntityFactory::create('UserGroup'); $ug->setId($id); $ug->setName($name); $this->assertEquals('UserGroup', $ug->getNonQualifiedClassName()); }
public function testGetNonQualifiedClassName() { $id = 1; $name = 'Libcaca'; $l = EntityFactory::create('Language'); $l->setId($id); $l->setName($name); $this->assertEquals('Language', $l->getNonQualifiedClassName()); }