import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.mockito.Mockito.mock;
+
import akka.actor.ActorSelection;
import org.junit.Test;
import org.opendaylight.controller.cluster.datastore.DataStoreVersions;
assertEquals("getIfPresent", null, cache.getIfPresent("foo"));
- PrimaryShardInfo shardInfo = new PrimaryShardInfo(mock(ActorSelection.class), DataStoreVersions.CURRENT_VERSION);
+ PrimaryShardInfo shardInfo = new PrimaryShardInfo(mock(ActorSelection.class),
+ DataStoreVersions.CURRENT_VERSION);
cache.putSuccessful("foo", shardInfo);
Future<PrimaryShardInfo> future = cache.getIfPresent("foo");