question: public static final Index createTestIndexTwoField ( ) { Index index = new Index ( "myindexwithtwofields" ) ; index . setTable ( DB , "mytable" ) ; ArrayList < IndexField > fields = new ArrayList < > ( ) ; fields . add ( new IndexField ( "myindexedfield1" ) ) ; fields . add ( new IndexField ( "myindexedfield2" ) ) ; index . setFields ( fields ) ; index . isUnique ( false ) ; return index ; }
target:  Creates at test index with two getFields.