public Object[] getLookup() throws KettleDatabaseException {
    return getLookup( prepStatementLookup, false );
  }
@Test
  public void testGetLookupCallPSpassed() throws SQLException, KettleDatabaseException {
    when( ps.executeQuery() ).thenReturn( rs );
    when( rs.getMetaData() ).thenReturn( rsMetaData );
    when( rsMetaData.getColumnCount() ).thenReturn( 0 );
    when( ps.getMetaData() ).thenReturn( rsMetaData );

    Database db = new Database( log, meta );
    db.getLookup( ps );
    verify( rsMetaData, times( 1 ) ).getColumnCount();
  }