public function testGeneratesNoRandomSecretIfFileExists()
{
$this->assertRandomSecretDoesNotExist();
touch(__DIR__ . '/../Fixtures/app/config/parameters.yml');
$this->handler->generateRandomSecret($this->getComposerEvent(['incenteev-parameters' => ['file' => __DIR__ . '/../Fixtures/app/config/parameters.yml']]));
unlink(__DIR__ . '/../Fixtures/app/config/parameters.yml');
$this->assertRandomSecretDoesNotExist();
}