public static final Index createTestBankIndexLoanYear(){
  Index lastname=new Index("issueyear");
  lastname.isUnique(false);
  ArrayList<IndexField> fields=new ArrayList<>(1);
  fields.add(new IndexField("approvalfy",FieldDataType.INTEGER));
  lastname.setFields(fields);
  lastname.setTable(Fixtures.createTestWorldBankTable());
  return lastname;
}

public static final Index createTestBankIndexLoanYear ( ) { Index lastname = new Index ( "issueyear" ) ; lastname . isUnique ( false ) ; ArrayList < IndexField > fields = new ArrayList < > ( 1 ) ; fields . add ( new IndexField ( "approvalfy" , FieldDataType . INTEGER ) ) ; lastname . setFields ( fields ) ; lastname . setTable ( Fixtures . createTestWorldBankTable ( ) ) ; return lastname ; }
creates at test index for loan issue year . integer type index .
