public function setUp()
 {
     $configuration = new RecordFilesConfiguration();
     $configuration->addContentType('profiles', __DIR__ . '/../../resources/RecordsFileExample/profiles.cmdl', __DIR__ . '/../..//resources/RecordFilesExample/records/profiles');
     $connection = $configuration->createReadOnlyConnection();
     $this->connection = $connection;
     KVMLoggerFactory::createWithKLogger(__DIR__ . '/../../../tmp');
 }
 public function setUp()
 {
     $target = __DIR__ . '/../../../tmp/RecordFilesReadWriteConnection';
     $configuration = new RecordFilesConfiguration();
     $configuration->addContentType('profiles', $target . '/profiles.cmdl', $target . '/records/profiles');
     $configuration->addContentType('test', $target . '/test.cmdl', $target . '/records/test');
     $connection = $configuration->createReadWriteConnection();
     $this->connection = $connection;
     KVMLoggerFactory::createWithKLogger(__DIR__ . '/../../../tmp');
 }