/**
  * @covers Veles\DataBase\Connections\DbConnection::getUserName
  * @depends testSetUserName
  */
 public function testGetUserName()
 {
     $expected = 'megaUser';
     $this->object->setUserName($expected);
     $result = $this->object->getUserName();
     $msg = 'Wrong Connection::getUserName return result!';
     $this->assertSame($expected, $result, $msg);
 }
 public function testGetCallbacks()
 {
     $callback_name = 'callback';
     $args = ['argument 1', 'argument 2'];
     $expected = [['method' => $callback_name, 'arguments' => $args]];
     $this->object->setCallback($callback_name, $args);
     $result = $this->object->getCallbacks();
     $msg = 'Wrong PdoConnection::setCallback behavior!';
     $this->assertSame($expected, $result, $msg);
 }