@VisibleForTesting
  void processIncludeView( Object[] outputRow ) {
    // Views
    if ( meta.isIncludeView() ) {
      try {
        String[] viewNames = data.db.getViews( data.realSchemaName, meta.isAddSchemaInOut() );
        String[] viewNamesWithoutSchema = data.db.getViews( data.realSchemaName, false );
        String ObjectType = BaseMessages.getString( PKG, "GetTableNamesDialog.ObjectType.View" );
        for ( int i = 0; i < viewNames.length && !isStopped(); i++ ) {
          Object[] outputRowView = outputRow.clone();
          int outputIndex = data.totalpreviousfields;

          String viewName = viewNames[i];
          String viewNameWithoutSchema = viewNamesWithoutSchema[i];
          outputRowView[outputIndex++] = viewName;

          if ( !Utils.isEmpty( data.realObjectTypeFieldName ) ) {
            outputRowView[outputIndex++] = ObjectType;
          }
          if ( !Utils.isEmpty( data.realIsSystemObjectFieldName ) ) {
            outputRowView[outputIndex++] = Boolean.valueOf( data.db.isSystemTable( viewNameWithoutSchema ) );
          }

          if ( !Utils.isEmpty( data.realSQLCreationFieldName ) ) {
            outputRowView[outputIndex++] = null;
          }
          data.rownr++;
          putRow( data.outputRowMeta, outputRowView ); // copy row to output rowset(s);

          logInfo( outputRowView );
        }
      } catch ( Exception e ) {
        // Ignore
      }
    }
  }
@Test
  public void processIncludeViewDontIncludeSchemaTest() throws KettleException {
    prepareIncludeViewTest( false );
    getTableNamesSpy.processIncludeView( new Object[] { "", "", "", "" } );
    //Regardless of include schema is true or false calls to isSystemTable should be done
    //with the table name without the schema concatenated
    for ( String table : getTableNamesWithoutSchema() ) {
      verify( database ).isSystemTable( table );
    }
    //getViews without including schema, must be called 2 times, one because includeSchema in meta is false,
    //the other because it is always needed to call isSystemTable without schema.
    //No calls, with include schema are done.
    verify( database, times( 2 ) ).getViews( "schema", false );
    verify( database, times( 0 ) ).getViews( "schema", true );
  }