public function testLeftJoin()
 {
     $this->assertInstanceOf('SQL\\SelectQueryBuilder', $this->queryBuilder->leftJoin('book', 'b', 'a.id = b.author_id'));
     $expected = array(array('table' => 'book', 'criteria' => array('a.id = b.author_id'), 'type' => SelectQueryBuilder::LEFT_JOIN, 'alias' => 'b'));
     $this->assertEquals($expected, $this->queryBuilder->getJoinParts());
 }