use of io.scalecube.services.sut.EmptyGreetingRequest in project scalecube by scalecube.
the class ServiceRemoteTest method test_remote_mono_empty_request_response_greeting.
@Test
public void test_remote_mono_empty_request_response_greeting() {
GreetingService service = gateway.call().api(GreetingService.class);
// call the service.
StepVerifier.create(service.emptyGreeting(new EmptyGreetingRequest())).expectNextMatches(resp -> resp instanceof EmptyGreetingResponse).expectComplete().verify(TIMEOUT);
}
Aggregations