2 * Copyright (c) 2019 Ericsson India Global Services Pvt Ltd. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.genius.mdsalutil.testutils;
10 import static org.opendaylight.yangtools.testutils.mockito.MoreAnswers.realOrException;
12 import java.util.List;
13 import org.mockito.Mockito;
14 import org.opendaylight.genius.mdsalutil.interfaces.ShardStatusMonitor;
16 public abstract class TestShardStatusMonitor implements ShardStatusMonitor {
18 public static TestShardStatusMonitor newInstance() {
19 return Mockito.mock(TestShardStatusMonitor.class, realOrException());
23 public boolean getShardStatus(List<String> shards) {