Interface Instantiator<T,​C extends DroneConfiguration<C>>

  • Type Parameters:
    T - Type of drone instances
    C - Type of drone configurations
    All Superinterfaces:
    Sortable

    public interface Instantiator<T,​C extends DroneConfiguration<C>>
    extends Sortable
    Defines a contract for instantiating a DroneDriver
    • Method Detail

      • createInstance

        T createInstance​(C configuration)
        Creates an instance of Drone Driver.

        The instance is created before execution of the first method of the test class automatically by calling this method. The object is then bound to the Arquillian context, where it stays until the execution of the last test method is finished.

        Parameters:
        configuration - the configuration object for the extension
        Returns:
        Newly created instance of the driver