### Question:
JdbcReportDataSourceServiceFactory implements ReportDataSourceServiceFactory { protected TimeZone getTimeZoneByDataSourceTimeZone(String dataSourceTimeZone) { String timezoneId = dataSourceTimeZone == null ? "" : dataSourceTimeZone; return timezoneId.isEmpty() ? TimeZone.getDefault() : TimeZone.getTimeZone(timezoneId); } JdbcReportDataSourceServiceFactory(); ReportDataSourceService createService(ReportDataSource reportDataSource); PooledJdbcDataSourceFactory getPooledJdbcDataSourceFactory(); void setPooledJdbcDataSourceFactory(
			PooledJdbcDataSourceFactory jdbcDataSourceFactory); int getPoolTimeout(); void setPoolTimeout(int poolTimeout); boolean getDefaultReadOnly(); void setDefaultReadOnly(boolean defaultReadOnly); boolean getDefaultAutoCommit(); void setDefaultAutoCommit(boolean defaultAutoCommit); Set<String> getAutoCommitUnsupportedDrivers(); void setAutoCommitUnsupportedDrivers(Set<String> autoCommitUnsupportedDrivers); Map<String, String> getDriverAuthMethMap(); void setDriverAuthMethMap(Map<String, String> driverAuthMethMap); Map<String, String> getDriverNoAuthMethMap(); void setDriverNoAuthMethMap(Map<String, String> driverNoAuthMethMap); ProfileAttributesResolver getProfileAttributesResolver(); void setProfileAttributesResolver(ProfileAttributesResolver profileAttributesResolver);  }### Answer:
@Test public void ensureDefaultTimezoneUsedForEmptyString() { TimeZone tz = jdbcReportDataSourceServiceFactory.getTimeZoneByDataSourceTimeZone(""); assertEquals(tz, TimeZone.getDefault()); }
@Test public void ensureDefaultTimezoneUsedForNullString() { TimeZone tz = jdbcReportDataSourceServiceFactory.getTimeZoneByDataSourceTimeZone(null); assertEquals(tz, TimeZone.getDefault()); }