Class FlushMongoDBExtension

java.lang.Object
org.occurrent.testsupport.mongodb.FlushMongoDBExtension
All Implemented Interfaces:
org.junit.jupiter.api.extension.BeforeEachCallback, org.junit.jupiter.api.extension.Extension

public class FlushMongoDBExtension extends Object implements org.junit.jupiter.api.extension.BeforeEachCallback
  • Constructor Details

    • FlushMongoDBExtension

      public FlushMongoDBExtension(com.mongodb.ConnectionString connectionString)
  • Method Details

    • beforeEach

      public void beforeEach(org.junit.jupiter.api.extension.ExtensionContext extensionContext)
      Specified by:
      beforeEach in interface org.junit.jupiter.api.extension.BeforeEachCallback