@@ -234,7 +234,7 @@ class DefaultBulkOperationsUnitTests {
|
|||||||
|
|
||||||
ArgumentCaptor<Person> personArgumentCaptor = ArgumentCaptor.forClass(Person.class);
|
ArgumentCaptor<Person> personArgumentCaptor = ArgumentCaptor.forClass(Person.class);
|
||||||
verify(beforeConvertCallback).onBeforeConvert(personArgumentCaptor.capture(), eq("collection-1"));
|
verify(beforeConvertCallback).onBeforeConvert(personArgumentCaptor.capture(), eq("collection-1"));
|
||||||
verifyZeroInteractions(beforeSaveCallback);
|
verifyNoInteractions(beforeSaveCallback);
|
||||||
|
|
||||||
ops.execute();
|
ops.execute();
|
||||||
|
|
||||||
|
|||||||
@@ -115,7 +115,7 @@ public class MongoPersistentEntityIndexCreatorUnitTests {
|
|||||||
|
|
||||||
creator.onApplicationEvent(event);
|
creator.onApplicationEvent(event);
|
||||||
|
|
||||||
verifyZeroInteractions(collection);
|
verifyNoInteractions(collection);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test // DATAMONGO-530
|
@Test // DATAMONGO-530
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ public class ReactiveMongoPersistentEntityIndexCreatorUnitTests {
|
|||||||
|
|
||||||
Mono<Void> publisher = checkForIndexes(mappingContext);
|
Mono<Void> publisher = checkForIndexes(mappingContext);
|
||||||
|
|
||||||
verifyZeroInteractions(collection);
|
verifyNoInteractions(collection);
|
||||||
|
|
||||||
publisher.as(StepVerifier::create).verifyComplete();
|
publisher.as(StepVerifier::create).verifyComplete();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user