de.akquinet.jbosscc.needle.testng
Class AbstractNeedleTestcase
java.lang.Object
de.akquinet.jbosscc.needle.NeedleTestcase
de.akquinet.jbosscc.needle.testng.AbstractNeedleTestcase
public abstract class AbstractNeedleTestcase
- extends NeedleTestcase
- See Also:
NeedleTestcase
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractNeedleTestcase
public AbstractNeedleTestcase(InjectionProvider<?>... injectionProvider)
- Creates an instance of
NeedleTestcase with optional additional injection provider.
- Parameters:
injectionProvider - optional additional injection provider- See Also:
InjectionProvider
beforeNeedleTestcase
public final void beforeNeedleTestcase()
throws Exception
- Throws:
Exception
afterNeedleTestcase
public final void afterNeedleTestcase()
throws Exception
- Throws:
Exception
getEntityManager
protected javax.persistence.EntityManager getEntityManager()
- Returns the
EntityManager, if the test is constructed with a
DatabaseTestcase instance or null otherwise.
- Returns:
EntityManager or null
Copyright © 2013 akquinet AG. All Rights Reserved.