@Test
public void testConstructQueryNumber() throws Exception {

    Query actual = QueryGenUtil.constructQuery(os.getModel(), "Company departments Department 1.address Address");
    Query q = new IqlQuery("SELECT a1_, a2_, a3_ FROM Company AS a1_, Department AS a2_, Address AS a3_ WHERE a1_.departments CONTAINS a2_ AND a1_.address CONTAINS a3_", "org.intermine.model.testmodel").toQuery();
    QueryAssert.assertEquals(q, actual);
}