Class PropertiesResourcesInjector
- java.lang.Object
-
- io.hosuaby.inject.resources.junit.jupiter.core.AbstractResourcesInjector<GivenPropertiesResource>
-
- io.hosuaby.inject.resources.junit.jupiter.properties.PropertiesResourcesInjector
-
public final class PropertiesResourcesInjector extends AbstractResourcesInjector<GivenPropertiesResource>
-
-
Field Summary
-
Fields inherited from class io.hosuaby.inject.resources.junit.jupiter.core.AbstractResourcesInjector
annotationType, injectionContext, INJECTORS, testClass, testInstance
-
-
Constructor Summary
Constructors Constructor Description PropertiesResourcesInjector(InjectionContext injectionContext, @Nullable java.lang.Object testInstance, java.lang.Class<?> testClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
valueToInject(java.lang.reflect.Type valueType, GivenPropertiesResource resourceAnnotation)
-
Methods inherited from class io.hosuaby.inject.resources.junit.jupiter.core.AbstractResourcesInjector
allInjectors, assertValidField, assertValidParameter, injectField, injectorFor
-
-
-
-
Constructor Detail
-
PropertiesResourcesInjector
public PropertiesResourcesInjector(InjectionContext injectionContext, @Nullable @Nullable java.lang.Object testInstance, java.lang.Class<?> testClass)
-
-
Method Detail
-
valueToInject
public java.lang.Object valueToInject(java.lang.reflect.Type valueType, GivenPropertiesResource resourceAnnotation)
- Specified by:
valueToInject
in classAbstractResourcesInjector<GivenPropertiesResource>
-
-