@Test
public void testHardlinkCopy() throws IOException {

  final int hardLinkCount = FileIOUtils.createDeepHardlink(this.sourceDir, this.destDir);
  assertThat(areDirsEqual(this.sourceDir, this.destDir, true)).isTrue();
  FileUtils.deleteDirectory(this.destDir);
  assertThat(hardLinkCount).isEqualTo(5);
  assertThat(areDirsEqual(this.baseDir, this.sourceDir, true)).isTrue();
}