Example #1
0
 public function testGet()
 {
     $this->assertInstanceOf('\\Doctrine\\DBAL\\Connection', static::$mf->getConnection());
     $this->assertInstanceOf('Dongww\\Db\\Doctrine\\Dbal\\Core\\Structure', static::$mf->getStructure());
     $this->assertInstanceOf('Dongww\\Db\\Doctrine\\Dbal\\Medoo\\MedooAdapter', static::$mf->getMedoo());
     $this->assertInstanceOf('Dongww\\Db\\Doctrine\\Dbal\\Medoo\\Reader', static::$mf->getReader());
     $this->assertInstanceOf('Dongww\\Db\\Doctrine\\Dbal\\Manager\\Manager', static::$mf->getManager('user'));
 }