HHH-5286 Add test on scanner with intergration map being null
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19667 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
41bb177619
commit
e4eed4c7e5
|
@ -98,5 +98,10 @@ public class ScannerTest extends PackagingTestCase {
|
|||
emf = Persistence.createEntityManagerFactory( "defaultpar", integration );
|
||||
assertTrue( CustomScanner.isUsed() );
|
||||
emf.close();
|
||||
|
||||
CustomScanner.resetUsed();
|
||||
emf = Persistence.createEntityManagerFactory( "defaultpar", null );
|
||||
assertTrue( ! CustomScanner.isUsed() );
|
||||
emf.close();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue