Interface QuarkusTestResourceLifecycleManager.TestInjector

All Known Implementing Classes:
TestResourceManager.DefaultTestInjector
Enclosing interface:
QuarkusTestResourceLifecycleManager

public static interface QuarkusTestResourceLifecycleManager.TestInjector
Provides methods to handle the common injection cases. See QuarkusTestResourceLifecycleManager.inject(TestInjector)
  • Method Details

    • injectIntoFields

      void injectIntoFields(Object fieldValue, Predicate<Field> predicate)
      Parameters:
      fieldValue - The actual value to inject into a test field
      predicate - User supplied predicate which can be used to determine whether or not the field should be set with with fieldValue