Interface TestHTTPResourceProvider<T>

All Known Implementing Classes:
StringTestHTTPResourceProvider, URITestHTTPResourceProvider, URLTestHTTPResourceProvider

public interface TestHTTPResourceProvider<T>
  • Method Summary

    Modifier and Type
    Method
    Description
     
    provide(String testUri, Field field)
    Create the resource to be injected into the field.
  • Method Details

    • getProvidedType

      Class<T> getProvidedType()
    • provide

      T provide(String testUri, Field field)
      Create the resource to be injected into the field.

      Note that there is no need to directly call set() on the field, it is only provided to allow you to examine the generic type and any additional annotations.