use of org.opendaylight.openflowplugin.api.openflow.device.RequestContext in project openflowplugin by opendaylight.
the class RpcContextImplTest method testCreateRequestContext2.
/**
* When deviceContext.reserveXidForDeviceMessage returns value, AbstractRequestContext should be returned.
*/
@Test
public void testCreateRequestContext2() throws InterruptedException {
RequestContext temp = rpcContext.createRequestContext();
temp.close();
verify(messageSpy).spyMessage(RpcContextImpl.class, MessageSpy.StatisticsGroup.REQUEST_STACK_FREED);
}
Aggregations