Overview
Test case for degenerate use of clear and close features of RootServiceJpa. This involves closing while there is an open, uncommitted transaction, or trying to create a transaction on a closed service.
Assumptions
- n/a
Procedure 1
- Call close
- Begin a transaction
- TEST: should produce an exception
Expected Runtime
- < 1 sec
Notes
- close() is implicitly tested by the teardown in normal use, so no explicit procedure is needed for it.