FailoverDataSource implements DataSource { @Override public java.util.logging.Logger getParentLogger() throws SQLFeatureNotSupportedException { return null; } private  FailoverDataSource();  FailoverDataSource(Properties p); @Override Connection getConnection(); @Override Connection getConnection(String username, String password); @Override void setLoginTimeout(int loginTimeout); @Override int getLoginTimeout(); @Override void setLogWriter(PrintWriter logWriter); @Override PrintWriter getLogWriter(); @Override boolean isWrapperFor(Class<?> iface); @Override T unwrap(Class<T> iface); @Override java.util.logging.Logger getParentLogger(); static final String POOL_MAX_SIZE; static final String POOL_TIME_TO_WAIT; }
@Test public void testParentLogger() throws Exception { FailoverDataSource fds = new FailoverDataSource(createProperties()); assertNull(fds.getParentLogger()); }