//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void cancelingSinglePopulatorDoNotCancelAnyOther() throws org.neo4j.kernel.api.exceptions.index.FlipFailedKernelException //JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: public virtual void CancelingSinglePopulatorDoNotCancelAnyOther() { IndexPopulator indexPopulator1 = CreateIndexPopulator(); IndexPopulator indexPopulator2 = CreateIndexPopulator(); IndexPopulation populationToCancel = AddPopulator(indexPopulator1, 1); IndexPopulation populationToKeepActive = AddPopulator(indexPopulator2, 2); _multipleIndexPopulator.create(); _multipleIndexPopulator.cancelIndexPopulation(populationToCancel); _multipleIndexPopulator.indexAllEntities(); assertTrue(_multipleIndexPopulator.hasPopulators()); _multipleIndexPopulator.flipAfterPopulation(false); verify(populationToKeepActive.Flipper).flip(any(typeof(Callable)), any(typeof(FailedIndexProxyFactory))); }
internal virtual void CancelPopulation(MultipleIndexPopulator.IndexPopulation population) { _multiPopulator.cancelIndexPopulation(population); }