public function testInitializeAndClose()
 {
     $this->driver->expects($this->once())->method('initialize');
     $this->driver->expects($this->once())->method('close');
     $this->signalHandler->expects($this->once())->method('addSubscriber')->with($this->connection);
     $this->signalHandler->expects($this->once())->method('removeSubscriber')->with($this->connection);
     $this->connection->initialize();
     $this->connection->close();
 }