Interface MongoTestInstance

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
CliMongoTestInstance, DockerMongoTestInstance, SslCliMongoTestInstance

public interface MongoTestInstance extends AutoCloseable
A test instance runner for mongo.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The tested version of Elements.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Closes and stops this mongo instance
    void
    Starts the test instance.
    default void
    Stops which, by default, calls close.
  • Field Details

    • ELEMENTS_TESTED_VERSION

      static final String ELEMENTS_TESTED_VERSION
      The tested version of Elements.
      See Also:
  • Method Details

    • start

      void start()
      Starts the test instance.
    • close

      void close()
      Closes and stops this mongo instance
      Specified by:
      close in interface AutoCloseable
    • stop

      default void stop()
      Stops which, by default, calls close.