Search in sources :

Example 6 with DiscoverPathCommandData

use of org.openkilda.messaging.command.discovery.DiscoverPathCommandData in project open-kilda by telstra.

the class DiscoverPathCommandDataTest method toStringTest.

@Test
public void toStringTest() throws Exception {
    final DiscoverPathCommandData data = new DiscoverPathCommandData();
    data.setSrcPortNo(inputPort);
    String dataString = data.toString();
    assertNotNull(dataString);
    assertFalse(dataString.isEmpty());
}
Also used : DiscoverPathCommandData(org.openkilda.messaging.command.discovery.DiscoverPathCommandData) Test(org.junit.Test)

Aggregations

DiscoverPathCommandData (org.openkilda.messaging.command.discovery.DiscoverPathCommandData)6 Test (org.junit.Test)4 Values (org.apache.storm.tuple.Values)1 CommandData (org.openkilda.messaging.command.CommandData)1 CommandMessage (org.openkilda.messaging.command.CommandMessage)1 DiscoverIslCommandData (org.openkilda.messaging.command.discovery.DiscoverIslCommandData)1 Commands (org.openkilda.simulator.classes.Commands)1