verify(storageSource);
verify(storageResultSet);
}
private static OFStatisticsReply createDescriptionStatsReply() {
OFStatisticsReply sr = (OFStatisticsReply)BasicFactory.getInstance()
.getMessage(OFType.STATS_REPLY);
sr.setStatisticType(OFStatisticsType.DESC);
OFDescriptionStatistics desc = new OFDescriptionStatistics();
desc.setDatapathDescription("Datapath Description");
desc.setHardwareDescription("Hardware Description");
desc.setManufacturerDescription("Manufacturer Description");
desc.setSerialNumber("Serial Number");
desc.setSoftwareDescription("Software Description");
sr.setStatistics(Collections.singletonList(desc));
return sr;
}