### Question:
TracingConnection implements Connection { @Override public Statement createStatement() throws SQLException { return TracingStatement.decorateStatement(delegate.createStatement()); } TracingConnection(Connection connection); static Connection decorate(Connection connection); @Override Statement createStatement(); @Override Statement createStatement(int resultSetType, int resultSetConcurrency); @Override Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability); @Override PreparedStatement prepareStatement(String sql); @Override PreparedStatement prepareStatement(String sql, int autoGeneratedKeys); @Override PreparedStatement prepareStatement(String sql, int[] columnIndexes); @Override PreparedStatement prepareStatement(String sql, String[] columnNames); @Override PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency); @Override PreparedStatement prepareStatement(
        String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability); @Override CallableStatement prepareCall(String sql); @Override CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency); @Override CallableStatement prepareCall(
        String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability); @Override String nativeSQL(String sql); @Override boolean getAutoCommit(); @Override void setAutoCommit(boolean autoCommit); @Override void commit(); @Override void rollback(); @Override void close(); @Override boolean isClosed(); @Override DatabaseMetaData getMetaData(); @Override boolean isReadOnly(); @Override void setReadOnly(boolean readOnly); @Override String getCatalog(); @Override void setCatalog(String catalog); @Override int getTransactionIsolation(); @Override void setTransactionIsolation(int level); @Override SQLWarning getWarnings(); @Override void clearWarnings(); @Override Map<String, Class<?>> getTypeMap(); @Override void setTypeMap(Map<String, Class<?>> map); @Override int getHoldability(); @Override void setHoldability(int holdability); @Override Savepoint setSavepoint(); @Override Savepoint setSavepoint(String name); @Override void rollback(Savepoint savepoint); @Override void releaseSavepoint(Savepoint savepoint); @Override Clob createClob(); @Override Blob createBlob(); @Override NClob createNClob(); @Override SQLXML createSQLXML(); @Override boolean isValid(int timeout); @Override void setClientInfo(String name, String value); @Override String getClientInfo(String name); @Override Properties getClientInfo(); @Override void setClientInfo(Properties properties); @Override Array createArrayOf(String typeName, Object[] elements); @Override Struct createStruct(String typeName, Object[] attributes); @Override String getSchema(); @Override void setSchema(String schema); @Override void abort(Executor executor); @Override void setNetworkTimeout(Executor executor, int milliseconds); @Override int getNetworkTimeout(); @Override @SuppressWarnings("unchecked") T unwrap(Class<T> iface); @Override boolean isWrapperFor(Class<?> iface);  }### Answer:
@Test void testCreateStatement() throws Exception { Assertions.assertTrue(connection.createStatement() != null); verify(delegate).createStatement(); Assertions.assertTrue(connection.createStatement(2, 3) != null); verify(delegate).createStatement(2, 3); Assertions.assertTrue(connection.createStatement(2, 3, 4) != null); verify(delegate).createStatement(2, 3, 4); }