コード例 #1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test void partitionSearcherIsClosed() throws java.io.IOException
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
        internal virtual void PartitionSearcherIsClosed()
        {
            PartitionSearcher        partitionSearcher = mock(typeof(PartitionSearcher));
            SimpleUniquenessVerifier verifier          = new SimpleUniquenessVerifier(partitionSearcher);

            verifier.Dispose();

            verify(partitionSearcher).close();
        }