question: protected void prepareTest ( String localData , List < String > endpointData ) throws Exception { if ( endpointData . size ( ) > MAX_ENDPOINTS ) throw new RuntimeException ( "MAX_ENDPOINTs to low, " + endpointData . size ( ) + " repositories needed. Adjust configuration" ) ; if ( localData != null ) { loadDataSet ( localRepository , localData ) ; } int i = 1 ; for ( String s : endpointData ) { loadDataSet ( getRepository ( i ++ ) , s ) ; } }
target:  Prepare a particular test, and load the specified data. Note: the repositories are cleared before loading data