@Test public void hibernate4NoCustomNamingStrategy() throws Exception { JpaProperties properties = load(HibernateVersion.V4); Map<String, String> hibernateProperties = properties .getHibernateProperties(mockStandaloneDataSource()); assertThat(hibernateProperties).contains(entry("hibernate.ejb.naming_strategy", SpringNamingStrategy.class.getName())); assertThat(hibernateProperties).doesNotContainKeys( "hibernate.implicit_naming_strategy", "hibernate.physical_naming_strategy"); }