Interface TestContainer


  • public interface TestContainer
    A test container.

    An instance of a test container can be started and stopped only once to prevent test corruption. For another test a new test container instance has to be created.

    Author:
    Paul Sandoz
    • Method Detail

      • getClientConfig

        ClientConfig getClientConfig()
        Get a client configuration specific to the test container.
        Returns:
        a client configuration specific to the test container, otherwise null if there is no specific client configuration required.
      • getBaseUri

        URI getBaseUri()
        Get the base URI of the application.
        Returns:
        the base URI of the application.
      • start

        void start()
        Start the container.
      • stop

        void stop()
        Stop the container.