Ejemplo n.º 1
0
 /**
  * @covers Gacela::registerDataSource
  * @covers Gacela::getDataSource
  * @dataProvider providerSources
  */
 public function testRegisterDataSource($config, $class)
 {
     $source = \Gacela\Gacela::createDataSource($config);
     $this->object->registerDataSource($source);
     $this->assertInstanceOf($class, $this->object->getDataSource($config['name']));
 }