use of io.vertx.ext.sync.testmodel.ReturnedInterface in project vertx-sync by vert-x3.
the class TestVerticle method testExecSyncMethodWithParamsAndHandlerInterface.
@Suspendable
protected void testExecSyncMethodWithParamsAndHandlerInterface() {
ReturnedInterface returned = awaitResult(h -> ai.methodWithParamsAndHandlerInterface("apples", 123, h));
assertNotNull(returned);
String res = awaitResult(h -> returned.methodWithParamsAndHandlerNoReturn("bananas", 100, h));
assertEquals(res, "bananas100");
complete();
}
Aggregations