diff --git a/datamover/sourceTest/java/ch/systemsx/cisd/datamover/filesystem/RetryingPathRemoverTest.java b/datamover/sourceTest/java/ch/systemsx/cisd/datamover/filesystem/RetryingPathRemoverTest.java
index 5e5ed93584d4765cc1e61eab864ee674ea175e50..dcf6ef6744ff6c5be47dc2394ae5a91e8a89a684 100644
--- a/datamover/sourceTest/java/ch/systemsx/cisd/datamover/filesystem/RetryingPathRemoverTest.java
+++ b/datamover/sourceTest/java/ch/systemsx/cisd/datamover/filesystem/RetryingPathRemoverTest.java
@@ -30,7 +30,8 @@ import ch.systemsx.cisd.datamover.filesystem.RetryingPathRemover.DeleteActivityD
 /**
  * @author Tomasz Pylak
  */
-@Friend(toClasses = RetryingPathRemover.class)
+@Friend(toClasses =
+    { RetryingPathRemover.class, DeleteActivityDetector.class })
 public class RetryingPathRemoverTest
 {
     @BeforeClass