public virtual void testQueryByInvalidJobDefinitionId() { HistoricJobLogQuery query = historyService.createHistoricJobLogQuery().jobDefinitionId("invalid"); verifyQueryResults(query, 0); try { query.jobDefinitionId(null); fail(); } catch (Exception) { } }