//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void coreProceduresShouldBeAvailable() public virtual void CoreProceduresShouldBeAvailable() { string[] coreProcs = new string[] { "dbms.cluster.role", "dbms.cluster.routing.getServers", "dbms.cluster.overview", "dbms.procedures", "dbms.listQueries" }; foreach (string procedure in coreProcs) { Optional <CoreClusterMember> firstCore = _cluster.coreMembers().First(); Debug.Assert(firstCore.Present); CoreGraphDatabase database = firstCore.get().database(); InternalTransaction tx = database.BeginTransaction(KernelTransaction.Type.@explicit, AUTH_DISABLED); Result coreResult = database.Execute("CALL " + procedure + "()"); //JAVA TO C# CONVERTER TODO TASK: Java iterators are only converted within the context of 'while' and 'for' loops: assertTrue("core with procedure " + procedure, coreResult.HasNext()); coreResult.Close(); tx.Close(); } }