public void validateStorageFiles(List<StorageFile> expectedStorageFiles,List<StorageFile> actualStorageFiles){
  assertEquals(expectedStorageFiles.size(),actualStorageFiles.size());
  for (int i=0; i < expectedStorageFiles.size(); i++) {
    StorageFile expectedStorageFile=expectedStorageFiles.get(i);
    StorageFile actualStorageFile=actualStorageFiles.get(i);
    assertEquals(expectedStorageFile.getFilePath(),actualStorageFile.getFilePath());
    assertEquals(expectedStorageFile.getFileSizeBytes(),actualStorageFile.getFileSizeBytes());
    assertEquals(expectedStorageFile.getRowCount(),actualStorageFile.getRowCount());
  }
}

public void validateStorageFiles ( List < StorageFile > expectedStorageFiles , List < StorageFile > actualStorageFiles ) { assertEquals ( expectedStorageFiles . size ( ) , actualStorageFiles . size ( ) ) ; for ( int i = 0 ; i < expectedStorageFiles . size ( ) ; i ++ ) { StorageFile expectedStorageFile = expectedStorageFiles . get ( i ) ; StorageFile actualStorageFile = actualStorageFiles . get ( i ) ; assertEquals ( expectedStorageFile . getFilePath ( ) , actualStorageFile . getFilePath ( ) ) ; assertEquals ( expectedStorageFile . getFileSizeBytes ( ) , actualStorageFile . getFileSizeBytes ( ) ) ; assertEquals ( expectedStorageFile . getRowCount ( ) , actualStorageFile . getRowCount ( ) ) ; } }
validates a list of storagefiles against the expected values .
