function __construct()
 {
     $this->con = EntityManager::getInstance();
 }
Exemplo n.º 2
0
 /**
  * Sets up the fixture, for example, opens a network connection.
  * This method is called before a test is executed.
  */
 protected function setUp()
 {
     $this->object = EntityManager::getInstance();
     $this->object->setMappingFilePath(dirname(__FILE__) . "/orm-mapping-test.xml");
 }