1 package test.mock.util;
3 import org.opendaylight.yang.gen.v1.urn.opendaylight.table.service.rev131026.UpdateTableInput;
4 import org.opendaylight.yang.gen.v1.urn.opendaylight.table.service.rev131026.UpdateTableOutput;
6 import org.opendaylight.yang.gen.v1.urn.opendaylight.table.service.rev131026.SalTableService;
7 import org.opendaylight.yangtools.yang.common.RpcResult;
8 import java.util.ArrayList;
10 import java.util.concurrent.Future;
12 public class SalTableServiceMock implements SalTableService {
13 private List<UpdateTableInput> updateTableInput = new ArrayList<>();
16 public List<UpdateTableInput> getUpdateTableInput() {
17 return updateTableInput;
21 public Future<RpcResult<UpdateTableOutput>> updateTable(UpdateTableInput input) {
22 updateTableInput.add(input);