public function __construct()
 {
     $host = '127.0.0.1';
     $username = '******';
     $password = '';
     $database = '';
     $testDatabaseConnection = Mysql\DataSource::getInstance(new Mysql\ConnectionData($host, $username, $password, $database));
     parent::__construct($testDatabaseConnection->getPdoConnection());
     \Salvo\Barrage\Configuration::load(__DIR__ . '/../../configuration.yml');
 }
 /**
  * @test
  */
 public function clearQuotesArrayException()
 {
     $exceptionCaught = false;
     $exceptionMessage = null;
     try {
         $this->databaseConnection->cleanQuote(array('test'));
     } catch (RelationalSqlException $exception) {
         $exceptionCaught = true;
         $exceptionMessage = $exception->getMessage();
     }
     $this->assertEquals(true, $exceptionCaught);
     $this->assertEquals("Can't clean array variable", $exceptionMessage);
 }