/**
  * @dataProvider GetFromStringProvider
  */
 public function testGetFromString($table, $alias, $joins, $expected, $expectedFormatted)
 {
     $this->queryBuilder->from($table, $alias);
     foreach ($joins as $join) {
         $this->queryBuilder->join($join[0], $join[1], $join[2], $join[3]);
     }
     $this->assertEquals($expected, $this->queryBuilder->getFromString());
     $this->assertEquals($expectedFormatted, $this->queryBuilder->getFromString(true));
 }