@Test
public void testProjectDirSizeIsSet() throws Exception {

  final ProjectDirectoryMetadata proj = new ProjectDirectoryMetadata(FAT_PROJECT_ID, 34,
      new File(this.projectsDir, SAMPLE_FLOW_01));
  final File tmp = this.instance.downloadProjectIfNotExists(proj, 123);
  final long actualDirSize = 1048835;
  assertThat(proj.getDirSizeInByte()).isEqualTo(actualDirSize);
  assertThat(FileIOUtils.readNumberFromFile(
      Paths.get(tmp.getPath(), FlowPreparer.PROJECT_DIR_SIZE_FILE_NAME)))
      .isEqualTo(actualDirSize);
}