Search in sources :

Example 6 with DiscoverIslCommandData

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

the class DiscoverISLCommandDataTest method toStringTest.

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

Aggregations

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