@Test public void testDatabaseConnection() { ExpectProxy<Connection> tp = new ExpectProxy<Connection>(); DatabaseConnection dbc = new DatabaseConnection(tp.getProxy(Connection.class)); assertNotNull(dbc); assertNotNull(dbc.getConnection()); }
DatabaseConnection() { }
DatabaseConnection { DatabaseConnection() { } }
DatabaseConnection { DatabaseConnection() { } DatabaseConnection();  DatabaseConnection(final Connection conn); }
DatabaseConnection { DatabaseConnection() { } DatabaseConnection();  DatabaseConnection(final Connection conn); @SuppressWarnings("deprecation") void dispose(); void test(); Connection getConnection(); void setConnection(final Connection connection); PreparedStatement prepareStatement(final String sql, final List<SQLParam> params); PreparedStatement prepareStatement(DatabaseQueryBuilder query); CallableStatement prepareCall(final String sql, final List<SQLParam> params); void commit(); }
DatabaseConnection { DatabaseConnection() { } DatabaseConnection();  DatabaseConnection(final Connection conn); @SuppressWarnings("deprecation") void dispose(); void test(); Connection getConnection(); void setConnection(final Connection connection); PreparedStatement prepareStatement(final String sql, final List<SQLParam> params); PreparedStatement prepareStatement(DatabaseQueryBuilder query); CallableStatement prepareCall(final String sql, final List<SQLParam> params); void commit();  }