function __construct() { $this->con = EntityManager::getInstance(); }
/** * 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"); }