//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void testVisitNodeCountsCommand() throws Exception //JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: public virtual void TestVisitNodeCountsCommand() { Command.NodeCountsCommand cmd = mock(typeof(Command.NodeCountsCommand)); when(cmd.Handle(any(typeof(CommandVisitor)))).thenCallRealMethod(); // WHEN bool result = _facade.visitNodeCountsCommand(cmd); // THEN InOrder inOrder = inOrder(_txApplier1, _txApplier2, _txApplier3); inOrder.verify(_txApplier1).visitNodeCountsCommand(cmd); inOrder.verify(_txApplier2).visitNodeCountsCommand(cmd); inOrder.verify(_txApplier3).visitNodeCountsCommand(cmd); inOrder.verifyNoMoreInteractions(); assertFalse(result); }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: public boolean visitNodeCountsCommand(org.neo4j.kernel.impl.transaction.command.Command.NodeCountsCommand command) throws java.io.IOException public override bool VisitNodeCountsCommand(Command.NodeCountsCommand command) { return(Visit(command)); }