TimeServiceConfiguration { public static TimeServiceConfiguration getInstance() { return CONFIG; } private  TimeServiceConfiguration(); static TimeServiceConfiguration getInstance();  }
@Test public void assertInitDataSource() { PropertiesUtils.createProperties("com.mysql.jdbc.Driver", null); TimeServiceConfiguration config = TimeServiceConfiguration.getInstance(); assertNotNull(config.getDataSource()); assertTrue(PropertiesUtils.remove()); }