ApplicationService extends RestService { public Mono<ApplicationInfoData> getCurrentApplicationInfo() { return Routes.APPLICATION_INFO_GET.newRequest() .exchange(getRouter()) .bodyToMono(ApplicationInfoData.class); } ApplicationService(Router router); Mono<ApplicationInfoData> getCurrentApplicationInfo();  }
@Test public void testGetCurrentApplicationInfo() { applicationService.getCurrentApplicationInfo().block(); }