* 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.controller.cluster.datastore.utils;
import static org.junit.Assert.assertEquals;
import akka.testkit.TestActorRef;
import akka.testkit.javadsl.TestKit;
import akka.util.Timeout;
-import com.google.common.base.Optional;
-import com.google.common.collect.Maps;
import com.google.common.collect.Sets;
import com.typesafe.config.ConfigFactory;
import java.time.Duration;
import java.util.Arrays;
+import java.util.HashMap;
import java.util.Map;
+import java.util.Optional;
import java.util.concurrent.TimeUnit;
import org.junit.Assert;
import org.junit.Test;
}
private static final class MockShardManager extends UntypedAbstractActor {
-
+ private final Map<String,Object> findPrimaryResponses = new HashMap<>();
private final boolean found;
private final ActorRef actorRef;
- private final Map<String,Object> findPrimaryResponses = Maps.newHashMap();
private MockShardManager(final boolean found, final ActorRef actorRef) {