//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void testQueryByInvalidExecutionId() public virtual void testQueryByInvalidExecutionId() { HistoricIncidentQuery query = historyService.createHistoricIncidentQuery(); assertEquals(0, query.executionId("invalid").list().size()); assertEquals(0, query.executionId("invalid").count()); try { query.executionId(null); fail("It was possible to set a null value as executionId."); } catch (ProcessEngineException) { } }