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);
  }
}

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 ) ; } }
prepare a particular test , and load the specified data . note : the repositories are cleared before loading data
