Annotation Interface PostTestConstruct


@Retention(RUNTIME) @Target(METHOD) public @interface PostTestConstruct
Pax Exam OSGi containers cannot execute @PostConstruct in the container.

@PostTestConstruct will execute after object creation before each test run when combined with PaxExamRule. This will provide a suitable location for post-construction modifications, after @Inject annotations have been run and before the test is initialized.