public class FinderManager extends Object implements org.junit.rules.TestRule
| Constructor and Description |
|---|
FinderManager(javax.persistence.EntityManagerFactory entityManagerFactory)
Force the construction of the data generator with an entity manager
|
| Modifier and Type | Method and Description |
|---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description) |
<T extends IFinder> |
getFinder(Class<T> finderClass)
Be able to retrieve a finder
|
org.junit.runners.model.Statement |
internalApply(org.junit.runners.model.Statement base,
org.junit.runner.Description description)
Method to avoid problems with anonymous class and final variables otherwise
the content of this method can be put on the method apply
|
public FinderManager(javax.persistence.EntityManagerFactory entityManagerFactory)
entityManagerFactory - Entity manager factory to usepublic org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description)
apply in interface org.junit.rules.TestRulepublic org.junit.runners.model.Statement internalApply(org.junit.runners.model.Statement base,
org.junit.runner.Description description)
Copyright © 2015. All rights reserved.