2 * Copyright (c) 2015 Cisco Systems, Inc. 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
9 package org.opendaylight.openflowplugin.impl.rpc;
11 import static org.junit.Assert.assertNotNull;
13 import java.util.concurrent.Future;
14 import org.junit.Before;
15 import org.junit.Test;
16 import org.junit.runner.RunWith;
17 import org.mockito.runners.MockitoJUnitRunner;
19 @RunWith(MockitoJUnitRunner.class)
20 public class AbstractRequestContextTest {
21 private AbstractRequestContext<Object> requestContext;
25 requestContext = new AbstractRequestContext<Object>(1L) {
34 public void testCreateRequestFuture() {
35 Future<?> future = requestContext.getFuture();
36 assertNotNull(future);