use of org.opensmartgridplatform.domain.core.valueobjects.CdmaDevice in project open-smart-grid-platform by OSGP.
the class CdmaRunTest method twoBatches.
@Test
public void twoBatches() {
// The CDMA run will contain two batches for mast segment 200/1.
// Within the timeout of 1000 milliseconds, only the send for device cd1
// should take place.
final CdmaRun run = new CdmaRun();
run.add(new CdmaDevice("cd1", this.loopbackAddress, "200/1", (short) 1));
run.add(new CdmaDevice("cd2", this.loopbackAddress, "200/1", (short) 2));
this.service.setTransitionForCdmaRun(run, "LianderNetManagement", "two-batches-cdma-run-test", TransitionType.NIGHT_DAY);
this.verifySentMessages(1);
}
Aggregations