public function testPostConnect()
 {
     $connectionMock = $this->getMock('Doctrine\\DBAL\\Connection', array(), array(), '', false);
     $connectionMock->expects($this->once())->method('executeUpdate')->with($this->isType('string'));
     $eventArgs = new ConnectionEventArgs($connectionMock);
     $listener = new OracleSessionInit();
     $listener->postConnect($eventArgs);
 }
 /**
  * {@inheritdoc}
  */
 public function postConnect(ConnectionEventArgs $args)
 {
     if ($args->getDatabasePlatform() instanceof OraclePlatform) {
         parent::postConnect($args);
     }
 }