### Question:
FlexyPoolDataSource implements DataSource, LifeCycleCallback, ConnectionPoolCallback, Closeable { @Override public boolean isWrapperFor(Class<?> iface) throws SQLException { return targetDataSource.isWrapperFor(iface); } FlexyPoolDataSource(final Configuration<T> configuration,
                               ConnectionAcquiringStrategyFactory<? extends ConnectionAcquiringStrategy, T>... connectionAcquiringStrategyFactories);  FlexyPoolDataSource();  FlexyPoolDataSource(T targetDataSource);  FlexyPoolDataSource(T targetDataSource, Properties overridingProperties); private  FlexyPoolDataSource(final Configuration<T> configuration,
                                List<ConnectionAcquiringStrategyFactory<? extends ConnectionAcquiringStrategy, T>> connectionAcquiringStrategyFactories); private  FlexyPoolDataSource(FlexyPoolDataSourceConfiguration<T> flexyPoolDataSourceConfiguration); @Override Connection getConnection(); @Override Connection getConnection(final String username, final String password); @Override void acquireConnection(); @Override void releaseConnection(long leaseDurationNanos); @Override PrintWriter getLogWriter(); @Override void setLogWriter(PrintWriter out); @Override int getLoginTimeout(); @Override void setLoginTimeout(int seconds); @Override T unwrap(Class<T> iface); @Override boolean isWrapperFor(Class<?> iface); Logger getParentLogger(); @Override void start(); @Override void stop(); @Override void close(); static final String OVERALL_CONNECTION_ACQUIRE_MILLIS; static final String CONCURRENT_CONNECTIONS_HISTOGRAM; static final String CONCURRENT_CONNECTION_REQUESTS_HISTOGRAM; static final String CONNECTION_LEASE_MILLIS; }### Answer:
@Test public void testIsWrapperFor() throws SQLException { Class<?> clazz = getClass(); flexyPoolDataSource.isWrapperFor(clazz); verify(dataSource, times(1)).isWrapperFor(same(clazz)); }