private void compareSurrogateKeyData(List<String> data,Dictionary reverseDictionary){
  int surrogateKey=0;
  for (int i=0; i < data.size(); i++) {
    surrogateKey++;
    assertTrue(surrogateKey == reverseDictionary.getSurrogateKey(data.get(i)));
  }
}

private void compareSurrogateKeyData ( List < String > data , Dictionary reverseDictionary ) { int surrogateKey = 0 ; for ( int i = 0 ; i < data . size ( ) ; i ++ ) { surrogateKey ++ ; assertTrue ( surrogateKey == reverseDictionary . getSurrogateKey ( data . get ( i ) ) ) ; } }
this method will compare the actual data with expected data
