Interface Plugin.Scope

Enclosing interface:
Plugin

public static interface Plugin.Scope
The plugin scope for the test.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Close resources that are in this scope - for example, http server.
    create(Type type)
    Create an instance of this type to inject into the test.
  • Method Details

    • create

      Object create(Type type)
      Create an instance of this type to inject into the test.

      For example, avaje-jex-test will create a http client.

    • close

      void close()
      Close resources that are in this scope - for example, http server.