Interface TestContainerFactory


  • public interface TestContainerFactory
    A test container factory responsible for creating test containers.
    Author:
    Paul Sandoz, Marek Potociar
    • Method Detail

      • create

        TestContainer create​(URI baseUri,
                             DeploymentContext deploymentContext)
        Create a test container instance.
        Parameters:
        baseUri - base URI for the test container to run at.
        deploymentContext - deployment context of the tested JAX-RS / Jersey application .
        Returns:
        new test container configured to run the tested application.
        Throws:
        IllegalArgumentException - if deploymentContext is not supported by this test container factory.