Remove use of {String,UUID}Identifier
[controller.git] / opendaylight / md-sal / sal-akka-raft / src / test / java / org / opendaylight / controller / cluster / raft / AbstractActorTest.java
index ec5381546964d7c8846ed446e4947baebe48380f..62e2ebd20b75de58b1c343dfc10786fd1588b3c7 100644 (file)
@@ -13,11 +13,19 @@ import akka.testkit.JavaTestKit;
 import org.apache.commons.io.FileUtils;
 import org.junit.AfterClass;
 import org.junit.BeforeClass;
 import org.apache.commons.io.FileUtils;
 import org.junit.AfterClass;
 import org.junit.BeforeClass;
-
+import org.opendaylight.yangtools.util.AbstractStringIdentifier;
 import java.io.File;
 import java.io.IOException;
 
 public abstract class AbstractActorTest {
 import java.io.File;
 import java.io.IOException;
 
 public abstract class AbstractActorTest {
+    protected static final class MockIdentifier extends AbstractStringIdentifier<MockIdentifier> {
+        private static final long serialVersionUID = 1L;
+
+        public MockIdentifier(final String string) {
+            super(string);
+        }
+    }
+
     private static ActorSystem system;
 
     @BeforeClass
     private static ActorSystem system;
 
     @BeforeClass