/**
  * Tests DbDataSourceDescriptor->getDataSetDescriptor()
  */
 public function testGetDataSetDescriptor()
 {
     $dataSets = $this->DbDataSourceDescriptor->listDataSets();
     $name = array_shift($dataSets);
     $dataSetDescriptor = $this->DbDataSourceDescriptor->getDataSetDescriptor($name);
     $this->assertInstanceOf('\\VisioCrudModeler\\Descriptor\\Db\\DbDataSetDescriptor', $dataSetDescriptor, ' implementation of db dataset descriptor');
     $this->assertInstanceOf('\\VisioCrudModeler\\Descriptor\\DataSetDescriptorInterface', $dataSetDescriptor, ' implementation of dataset descriptor interface');
     $this->assertInternalType('string', $dataSetDescriptor->getName());
     $this->assertInternalType('string', $dataSetDescriptor->getType());
     $this->assertInternalType('array', $dataSetDescriptor->getFields());
 }