protected function setUp()
{
parent::setUp();
// Set Models manager
$this->di->set('modelsManager', function () {
return new PhModelManager();
});
// Set Models metadata
$this->di->set('modelsMetadata', function () {
return new PhMetadataMemory();
});
// Set the connection to the db (defaults to mysql)
$this->setDb();
}