public abstract class AWSClientExtension extends Object implements TestInstancePostProcessor
Constructor and Description |
---|
AWSClientExtension() |
Modifier and Type | Method and Description |
---|---|
protected abstract Object |
client(Field field)
Return an object to inject in the
field . |
void |
postProcessTestInstance(Object testInstance,
ExtensionContext context) |
protected abstract boolean |
supports(Field field)
Return whether this extension is able to inject the
field . |
public void postProcessTestInstance(Object testInstance, ExtensionContext context) throws Exception
postProcessTestInstance
in interface TestInstancePostProcessor
Exception
protected abstract boolean supports(Field field)
field
.field
- a field to inject into.field
.