### Question:
JdbcDriverServiceImpl implements JdbcDriverService, ApplicationContextAware { @Override public Set<String> getRegisteredDriverClassNames() { Set<String> driverNames = new HashSet<String>(driverClassToUrlMap.size()); for (String className : driverClassToUrlMap.keySet()) { if (isRegistered(className)) { driverNames.add(className); } } return driverNames; }  void setRepository(RepositoryService repository); void setSystemClassLoaderFirst(Boolean systemClassLoaderFirst); void setJdbcDriversFolder(String jdbcDriversFolder); String getJdbcDriversFolder(); @Override synchronized void register(String driverClass); @Override synchronized boolean isRegistered(String driverClass); @Override synchronized void setDriverMappings(Map<String, String> driverMappings); synchronized void setDriverMapping(String driverClass, String path); synchronized void removeDriverMapping(String driverClass); @Override Map<String, String> getDriverMappings(); @Override Set<String> getRegisteredDriverClassNames(); @Override synchronized void setDriverMappingAndRegister(String driverClass, String path); @Override @Transactional(propagation = Propagation.REQUIRED) void setDriver(String driverClassName, Map<String, byte[]> driverFiles); @Override void setApplicationContext(ApplicationContext applicationContext); static final String DEFAULT_JDBC_REPO_FOLDER; static final String DEFAULT_JDBC_TEMP_FOLDER; static final String URL_CLASSLOADER_FORMAT; static final String TEMP_FILE_PATH_FORMAT; static final String SYSTEM_PROPERTIES_LIST_KEY_PREFIX; static final String SYSTEM_PROPERTIES_LIST_KEY_FORMAT; static final String SYSTEM_PROPERTIES_PRESERVED_KEY_SUFFIX; static final String SYSTEM_CLASSLOADER_PATH; }### Answer:
@Test public void ttt() throws Exception { mockJars("/jdbc/testjdbcdriver", "testjdbcdriver.jar"); propertiesManagementServiceProps.put(String.format(JdbcDriverServiceImpl.SYSTEM_PROPERTIES_LIST_KEY_FORMAT, TEST_DRIVER_CLASS_NAME), "testjdbcdriver"); propertiesManagementServiceProps.put(String.format(JdbcDriverServiceImpl.SYSTEM_PROPERTIES_LIST_KEY_FORMAT, "not.existing.Driver"), "notExistingFolder"); afterPropertiesSet(); Set<String> registeredDrivers = jdbcDriverService.getRegisteredDriverClassNames(); assertEquals(1, registeredDrivers.size()); assertEquals(TEST_DRIVER_CLASS_NAME, registeredDrivers.iterator().next()); assertEquals(1, driversSet.size()); assertEquals(2, propertiesManagementServiceProps.size()); assertEquals("testjdbcdriver", propertiesManagementServiceProps.get(String.format(JdbcDriverServiceImpl.SYSTEM_PROPERTIES_LIST_KEY_FORMAT, TEST_DRIVER_CLASS_NAME))); assertEquals("notExistingFolder", propertiesManagementServiceProps.get(String.format(JdbcDriverServiceImpl.SYSTEM_PROPERTIES_LIST_KEY_FORMAT, "not.existing.Driver"))); }