@Test
public void testAnotherTableRelatedWithAlias() throws Exception {

   QueryDef query = new QueryDef("test", UserEntity.class, QueryType.SELECT, "<TABLE name='home-address' alias='address'/>");
   Readset<?> readset = UserEntity.READSET_FULL;
   User user = new User();
   QueryContext ctx = getSelectContext(query, user, readset);
   m_queryResolver.resolve(ctx);
   Assert.assertEquals("user_address address", ctx.getSqlStatement());
}