use of com.canoo.dp.impl.remoting.legacy.communication.EmptyCommand in project dolphin-platform by canoo.
the class ClientConnectorTests method testSevereLogWhenCommandNotFound.
@Test
public void testSevereLogWhenCommandNotFound() {
clientConnector.dispatchHandle(new EmptyCommand());
syncAndWaitUntilDone();
assertOnlySyncCommandWasTransmitted();
}
use of com.canoo.dp.impl.remoting.legacy.communication.EmptyCommand in project dolphin-platform by canoo.
the class ClientConnectorTests method syncAndWaitUntilDone.
private void syncAndWaitUntilDone() {
clientConnector.send(new EmptyCommand(), new OnFinishedHandler() {
public void onFinished() {
syncDone.countDown();
}
});
Assert.assertTrue(waitForLatch());
}
Aggregations