Beispiel #1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: private org.neo4j.pushtocloud.PushToCloudCommand.Copier mockedTargetCommunicator() throws org.neo4j.commandline.admin.CommandFailed
        private Copier MockedTargetCommunicator()
        {
            Copier copier = mock(typeof(Copier));

            when(copier.Authenticate(anyBoolean(), any(), any(), any(), anyBoolean())).thenReturn("abc");
            return(copier);
        }