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