public function tryToSetup(UnitTester $I)
 {
     if (file_exists(config_path() . '/influxdb.php')) {
         $I->deleteFile(config_path() . '/influxdb.php');
     }
     $data = ['host' => 'localhost', 'database' => 'stigma', 'username' => 'username', 'password' => 'password'];
     $installManager = \App::make('Stigma\\Installation\\InstallManager');
     $influxdbInstallation = $installManager->getInfluxdbInstallation();
     $ret = $influxdbInstallation->setup($data);
     $stubFile = file_get_contents(__DIR__ . '/../' . '_stubs/influxdb.php');
     $createdFile = file_get_contents(config_path() . '/influxdb.php');
     $I->assertTrue($ret);
     $I->assertFileExists(config_path() . '/influxdb.php');
     $I->assertEquals($stubFile, $createdFile);
 }