Class ManagedMongoDb
- java.lang.Object
-
- org.junit.rules.ExternalResource
-
- com.lordofthejars.nosqlunit.mongodb.ManagedMongoDb
-
- All Implemented Interfaces:
org.junit.rules.TestRule
public class ManagedMongoDb extends org.junit.rules.ExternalResourceRun a mongodb server before each test suite.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classManagedMongoDb.MongoServerRuleBuilderBuilder to start mongodb server accordingly to your setup
-
Field Summary
Fields Modifier and Type Field Description protected ManagedMongoDbLifecycleManagermanagedMongoDbLifecycleManager
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafter()voidbefore()
-
-
-
Field Detail
-
managedMongoDbLifecycleManager
protected ManagedMongoDbLifecycleManager managedMongoDbLifecycleManager
-
-