use of org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.EchoReplyInput in project openflowplugin by opendaylight.
the class OpenflowProtocolListenerInitialImplTest method testOnEchoRequestMessage.
@Test
public void testOnEchoRequestMessage() throws Exception {
EchoRequestMessageBuilder echoRequestMessageBld = new EchoRequestMessageBuilder().setXid(42L).setVersion(OFConstants.OFP_VERSION_1_3);
openflowProtocolListenerInitial.onEchoRequestMessage(echoRequestMessageBld.build());
Mockito.verify(connectionAdapter).echoReply(Matchers.<EchoReplyInput>any());
}
Aggregations