public function setUp()
{
$driver = $this->prophesize('Doctrine\\DBAL\\Driver')->willImplement('Facile\\DoctrineMySQLComeBack\\Doctrine\\DBAL\\Driver\\ServerGoneAwayExceptionsAwareInterface');
$configuration = $this->prophesize('Doctrine\\DBAL\\Configuration');
$eventManager = $this->prophesize('Doctrine\\Common\\EventManager');
$platform = $this->prophesize('Doctrine\\DBAL\\Platforms\\AbstractPlatform');
$params = ['driverOptions' => ['x_reconnect_attempts' => 3], 'platform' => $platform->reveal()];
$this->connection = new Connection($params, $driver->reveal(), $configuration->reveal(), $eventManager->reveal());
}