@Test
public void testMultiJoins() {

    Join[] joins = JoinParser.parse("User1 u1, User2 u2");
    assertEquals(2, joins.length);
    assertEquals("User1", joins[0].getRelation());
    assertEquals("u1", joins[0].getAlias());
    assertEquals("User2", joins[1].getRelation());
    assertEquals("u2", joins[1].getAlias());
}