Пример #1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void cancelAndDropShouldCallDropOnPopulator() throws org.neo4j.kernel.api.exceptions.index.FlipFailedKernelException
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
        public virtual void CancelAndDropShouldCallDropOnPopulator()
        {
            IndexPopulator  populator       = CreateIndexPopulator();
            IndexPopulation indexPopulation = AddPopulator(populator, 1);

            indexPopulation.CancelAndDrop();

            verify(populator, never()).close(false);
            verify(populator).drop();
        }
Пример #2
0
 internal virtual void DropIndexPopulation(IndexPopulation indexPopulation)
 {
     indexPopulation.CancelAndDrop();
 }