JdbcWrapperHelper { static Map<String, DataSource> getJndiAndSpringDataSources() throws NamingException { Map<String, DataSource> dataSources; try { dataSources = new LinkedHashMap<String, DataSource>(getJndiDataSources()); } catch (final NoInitialContextException e) { dataSources = new LinkedHashMap<String, DataSource>(); } dataSources.putAll(SPRING_DATASOURCES); return dataSources; } private  JdbcWrapperHelper();   }
@Test public void testGetJndiAndSpringDataSources() { getJndiAndSpringDataSources(); }