### Question:
QueryUtil { public static int getCurrentQueryCount() throws IOException, TException { CachingBlurClient client = Config.getCachingBlurClient(); int count = 0; List<String> tableList = client.enabledTables(); for (String table : tableList) { List<String> queries = client.queryStatusIdList(table); count += queries.size(); } return count; }  static int getCurrentQueryCount(); static Map<String, Object> getQueries(); static void cancelQuery(String table, String uuid);  }### Answer:
@Test public void testGetCurrentQueryCount() throws BlurException, IOException, TException { UserContext.setUser(new User("testUser",null)); Iface client = Config.getClient(); BlurQuery query = new BlurQuery( new Query("fam0.col0:*", true, ScoreType.SUPER, null, null), null, null, false, 0, 10, 1, 2000, UUID.randomUUID().toString(), "testUser", false, System.currentTimeMillis(), null, null); int currentCount = QueryUtil.getCurrentQueryCount(); client.query("queryUnitTable", query); assertEquals(currentCount + 1, QueryUtil.getCurrentQueryCount()); UserContext.reset(); }