Move and split EntityOwnershipService common-api
[mdsal.git] / entityownership / mdsal-eos-common-spi / src / test / java / org / opendaylight / mdsal / common / api / clustering / AbstractGenericEntityOwnershipCandidateRegistrationTest.java
diff --git a/entityownership/mdsal-eos-common-spi/src/test/java/org/opendaylight/mdsal/common/api/clustering/AbstractGenericEntityOwnershipCandidateRegistrationTest.java b/entityownership/mdsal-eos-common-spi/src/test/java/org/opendaylight/mdsal/common/api/clustering/AbstractGenericEntityOwnershipCandidateRegistrationTest.java
new file mode 100644 (file)
index 0000000..ea74020
--- /dev/null
@@ -0,0 +1,31 @@
+/*
+ * Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+package org.opendaylight.mdsal.common.api.clustering;
+
+import static org.junit.Assert.assertNotNull;
+import static org.mockito.Mockito.mock;
+
+import org.junit.Test;
+
+public class AbstractGenericEntityOwnershipCandidateRegistrationTest
+        extends AbstractGenericEntityOwnershipCandidateRegistration {
+
+    @Test
+    public void basicTest() {
+        assertNotNull(this);
+    }
+
+    public AbstractGenericEntityOwnershipCandidateRegistrationTest() {
+        super(mock(GenericEntity.class));
+    }
+
+    @Override
+    protected void removeRegistration() {
+        //NOOP
+    }
+}
\ No newline at end of file