diff --git a/jbt/src/test/java/org/hibernate/tool/orm/jbt/wrp/EntityPersisterWrapperFactoryTest.java b/jbt/src/test/java/org/hibernate/tool/orm/jbt/wrp/EntityPersisterWrapperFactoryTest.java index b09ade8256..b68c5f4d13 100644 --- a/jbt/src/test/java/org/hibernate/tool/orm/jbt/wrp/EntityPersisterWrapperFactoryTest.java +++ b/jbt/src/test/java/org/hibernate/tool/orm/jbt/wrp/EntityPersisterWrapperFactoryTest.java @@ -121,6 +121,11 @@ public void testGetPropertyTypes() { ((TypeExtension)propertyTypeWrapper).getRole()); } + @Test + public void testGetMappedClass() { + assertSame(Foo.class, entityPersisterWrapper.getMappedClass()); + } +