import static org.mockito.Mockito.doNothing;
import static org.mockito.Mockito.doReturn;
import static org.mockito.Mockito.verify;
+
import com.google.common.util.concurrent.Futures;
import org.junit.Assert;
import org.junit.Before;
import org.mockito.MockitoAnnotations;
import org.opendaylight.mdsal.singleton.common.api.ClusterSingletonService;
import org.opendaylight.mdsal.singleton.common.api.ServiceGroupIdentifier;
-import org.opendaylight.mdsal.singleton.dom.impl.ClusterSingletonServiceGroup;
-import org.opendaylight.mdsal.singleton.dom.impl.ClusterSingletonServiceGroupImpl;
-import org.opendaylight.mdsal.singleton.dom.impl.ClusterSingletonServiceRegistrationDelegator;
/**
- * Testing {@link ClusterSingletonServiceRegistrationDelegator}
+ * Testing {@link ClusterSingletonServiceRegistrationDelegator}.
*/
public class ClusterSingletonServiceRegistrationDelegatorTest {
private ClusterSingletonServiceRegistrationDelegator delegator;
/**
- * Initialization functionality for every Tests in this suite
+ * Initialization functionality for every Tests in this suite.
*
* @throws Exception - unexpected setup exception
*/
}
/**
- * Test create input with {@link ClusterSingletonService} as null
+ * Test create input with {@link ClusterSingletonService} as null.
*/
@Test(expected = NullPointerException.class)
public void testSetupNullService() {
}
/**
- * Test create input with {@link ClusterSingletonServiceGroupImpl} as null
+ * Test create input with {@link ClusterSingletonServiceGroupImpl} as null.
*/
@Test(expected = NullPointerException.class)
public void testSetupNullGroup() {
}
/**
- * Test a method delegation {@link ClusterSingletonService#instantiateServiceInstance()}
+ * Test a method delegation {@link ClusterSingletonService#instantiateServiceInstance()}.
*/
@Test
public void testInstatiateServiceDelegMethod() {
}
/**
- * Test a method delegation {@link ClusterSingletonService#instantiateServiceInstance()}
+ * Test a method delegation {@link ClusterSingletonService#instantiateServiceInstance()}.
*/
@Test
public void testCloseServiceDelegMethod() {
}
/**
- * Test a method delegation {@link ClusterSingletonService#getIdentifier()}
+ * Test a method delegation {@link ClusterSingletonService#getIdentifier()}.
*/
@Test
public void testGetServiceIdentifierDelegMethod() {
}
/**
- * Test a close method delegation to {@link ClusterSingletonServiceGroupImpl#unregisterService(ClusterSingletonService)}
+ * Test a close method delegation to
+ * {@link ClusterSingletonServiceGroupImpl#unregisterService(ClusterSingletonService)}.
*
* @throws Exception is from AutoclosableInterface
*/