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