Package ejava.examples.txhotel.jpa
Class HotelRegistrationTest
- java.lang.Object
-
- ejava.examples.txhotel.jpa.HotelDAOTestBase
-
- ejava.examples.txhotel.jpa.HotelRegistrationTest
-
public class HotelRegistrationTest extends HotelDAOTestBase
This class tests the ReservationDAO. The code contained here will be similar to the calls made by the Hotel Reservation business logic.
-
-
Field Summary
-
Fields inherited from class ejava.examples.txhotel.jpa.HotelDAOTestBase
em, log, reservationDAO, reservationist, reservationSession
-
-
Constructor Summary
Constructors Constructor Description HotelRegistrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testBadCancelRegistration()
void
testCreateRegistration()
void
testGetRegistrations()
void
testGetRegistrationsForName()
void
testGoodCancelRegistration()
-
Methods inherited from class ejava.examples.txhotel.jpa.HotelDAOTestBase
cleanup, populate, setUp, tearDown
-
-