public class CoroutineFlapdoodleRule<T>
A org.junit.Rule to help writing tests for KMongo using Flapdoodle.
public static org.litote.kmongo.coroutine.CoroutineFlapdoodleRule.Companion Companion
public CoroutineFlapdoodleRule(@NotNull
kotlin.reflect.KClass<T> defaultDocumentClass,
boolean generateRandomCollectionName,
@NotNull
java.lang.String dbName,
@NotNull
de.flapdoodle.embed.mongo.distribution.IFeatureAwareVersion version)
A org.junit.Rule to help writing tests for KMongo using Flapdoodle.
@NotNull public com.mongodb.reactivestreams.client.MongoClient getMongoClient()
@NotNull public com.mongodb.reactivestreams.client.MongoDatabase getDatabase()
@NotNull
public <T> com.mongodb.reactivestreams.client.MongoCollection<T> getCollection(@NotNull
kotlin.reflect.KClass<T> clazz)
@NotNull
public <T> com.mongodb.reactivestreams.client.MongoCollection<T> getCollection(@NotNull
java.lang.String name,
@NotNull
kotlin.reflect.KClass<T> clazz)
@Nullable
public java.lang.Object dropCollection(@NotNull
kotlin.reflect.KClass<?> clazz,
@NotNull
kotlin.coroutines.Continuation<? super org.reactivestreams.Publisher<java.lang.Void>> p)
@Nullable
public java.lang.Object dropCollection(@NotNull
java.lang.String collectionName,
@NotNull
kotlin.coroutines.Continuation<? super org.reactivestreams.Publisher<java.lang.Void>> p)
@Nullable
public <T> java.lang.Object drop(@NotNull
com.mongodb.reactivestreams.client.MongoCollection<T> $this$drop,
@NotNull
kotlin.coroutines.Continuation<? super java.lang.Void> p)
@NotNull public com.mongodb.reactivestreams.client.MongoCollection<T> getCol()
@NotNull
public org.junit.runners.model.Statement apply(@NotNull
org.junit.runners.model.Statement base,
@NotNull
org.junit.runner.Description description)
@NotNull public kotlin.reflect.KClass<T> getDefaultDocumentClass()
public boolean getGenerateRandomCollectionName()
@NotNull public java.lang.String getDbName()
@NotNull public de.flapdoodle.embed.mongo.distribution.IFeatureAwareVersion getVersion()