예제 #1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: private static org.neo4j.graphdb.ResourceIterator<java.io.File> indexFilesAre(org.neo4j.kernel.impl.api.index.IndexingService indexingService, String[] fileNames) throws java.io.IOException
        private static ResourceIterator <File> IndexFilesAre(IndexingService indexingService, string[] fileNames)
        {
            List <File> files = new List <File>();

            MockFiles(fileNames, files, false);
            ResourceIterator <File> snapshot = spy(asResourceIterator(Files.GetEnumerator()));

            when(indexingService.SnapshotIndexFiles()).thenReturn(snapshot);
            return(snapshot);
        }