Package org.myorg.jpatickets.bl
Class TicketsTest
- java.lang.Object
-
- org.myorg.jpatickets.bl.TicketsTest
-
public class TicketsTest extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private org.myorg.jpatickets.dao.EventMgmtDAO
edao
private EntityManager
em
private static EntityManagerFactory
emf
private org.myorg.jpatickets.bl.EventMgmt
eventMgmt
private static org.slf4j.Logger
logger
private static String
PU_NAME
private TicketsFactory
tf
private org.myorg.jpatickets.bl.VenueMgmt
venueMgmt
-
Constructor Summary
Constructors Constructor Description TicketsTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
cleanup()
void
event()
void
eventDTO()
void
setUp()
static void
setupClass()
void
tearDown()
static void
tearDownClass()
void
ticket()
void
venue()
-
-
-
Field Detail
-
logger
private static final org.slf4j.Logger logger
-
PU_NAME
private static final String PU_NAME
- See Also:
- Constant Field Values
-
emf
private static EntityManagerFactory emf
-
tf
private final TicketsFactory tf
-
em
private EntityManager em
-
edao
private org.myorg.jpatickets.dao.EventMgmtDAO edao
-
venueMgmt
private org.myorg.jpatickets.bl.VenueMgmt venueMgmt
-
eventMgmt
private org.myorg.jpatickets.bl.EventMgmt eventMgmt
-
-
Method Detail
-
setupClass
public static void setupClass()
-
setUp
public void setUp()
-
tearDown
public void tearDown()
-
cleanup
private void cleanup()
-
tearDownClass
public static void tearDownClass()
-
venue
public void venue()
-
event
public void event() throws org.myorg.jpatickets.bl.UnavailableException
- Throws:
org.myorg.jpatickets.bl.UnavailableException
-
ticket
public void ticket() throws org.myorg.jpatickets.bl.UnavailableException
- Throws:
org.myorg.jpatickets.bl.UnavailableException
-
eventDTO
public void eventDTO() throws org.myorg.jpatickets.bl.UnavailableException
- Throws:
org.myorg.jpatickets.bl.UnavailableException
-
-