public virtual void testQueryByInvalidActivityId() { HistoricJobLogQuery query = historyService.createHistoricJobLogQuery().activityIdIn("invalid"); verifyQueryResults(query, 0); string[] nullValue = null; try { query.activityIdIn(nullValue); fail(); } catch (Exception) { } string[] activityIdsContainsNull = new string[] { "a", null, "b" }; try { query.activityIdIn(activityIdsContainsNull); fail(); } catch (Exception) { } string[] activityIdsContainsEmptyString = new string[] { "a", "", "b" }; try { query.activityIdIn(activityIdsContainsEmptyString); fail(); } catch (Exception) { } }