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