public class ReactiveStreamsFlapdoodleRule<T>
A org.junit.Rule to help writing tests for KMongo using Flapdoodle.
public static org.litote.kmongo.reactivestreams.ReactiveStreamsFlapdoodleRule.Companion Companion
public ReactiveStreamsFlapdoodleRule(@NotNull
kotlin.reflect.KClass<T> defaultDocumentClass,
boolean generateRandomCollectionName,
@NotNull
java.lang.String dbName,
boolean wait,
@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)
public <T> void dropAndWait(@NotNull
com.mongodb.reactivestreams.client.MongoCollection<T> $this$dropAndWait)
public void dropCollection(@NotNull
kotlin.reflect.KClass<?> clazz)
public void dropCollection(@NotNull
java.lang.String collectionName)
@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)
public void asyncTest(@NotNull
kotlin.jvm.functions.Function0<kotlin.Unit> testToRun)
@NotNull public kotlin.reflect.KClass<T> getDefaultDocumentClass()
public boolean getGenerateRandomCollectionName()
@NotNull public java.lang.String getDbName()
public boolean getWait()
@NotNull public de.flapdoodle.embed.mongo.distribution.IFeatureAwareVersion getVersion()