public class PostConstructProcessor extends Object implements NeedleProcessor
ObjectUnderTest.postConstruct()
Note: Behavior in an inheritance hierarchy is not defined by the common annotations specification
Constructor and Description |
---|
PostConstructProcessor(Set<Class<?>> postConstructAnnotations) |
Modifier and Type | Method and Description |
---|---|
void |
process(NeedleContext context)
calls process(instance) for each object under test, only if field is
marked with
ObjectUnderTest (postConstruct=true), else ignored. |
public void process(NeedleContext context)
ObjectUnderTest
(postConstruct=true), else ignored.process
in interface NeedleProcessor
context
- the NeedleContextObjectUnderTestInstantiationException
Copyright © 2014. All rights reserved.