@Test
public final void testCreateQuery() throws ServletException {
// Create new query
SaikuQuery testQuery = null;
testQuery = qs.createQuery("TestConnection1", "Sales", "FoodMart",
"FoodMart", null, "TestQuery1");
// Check it is not null, has the same name and has an unused axis.
assertNotNull(testQuery);
assertEquals("TestQuery1", testQuery.getName());
assertEquals(testQuery.getSaikuAxes().size(), 3);
// no selections on the axes
assertEquals(testQuery.getSaikuAxes().get(0).getDimensionSelections().size(), 0);
}