### Question:
NodeRepositoryOkHttpImpl extends AbstractRepositoryOkHttpImpl implements NodeRepository { public Observable<ServerInfo> getServerInfo() { Callable<ServerInfoDTO> callback = getClient()::getServerInfo; return exceptionHandling( call(callback).map(ServerInfoDTO::getServerInfo).map(this::toServerInfo)); } NodeRepositoryOkHttpImpl(ApiClient apiClient); NodeRoutesApi getClient(); Observable<NodeInfo> getNodeInfo(); @Override Observable<List<NodeInfo>> getNodePeers(); Observable<NodeTime> getNodeTime(); @Override Observable<StorageInfo> getNodeStorage(); @Override Observable<NodeHealth> getNodeHealth(); Observable<ServerInfo> getServerInfo();  }### Answer:
@Test public void shouldGetServerInfo() throws Exception { ServerInfoDTO dto = new ServerInfoDTO(); ServerDTO serverInfoDto = new ServerDTO(); serverInfoDto.setRestVersion("RestVersion1"); serverInfoDto.setSdkVersion("SdkVersion1"); dto.serverInfo(serverInfoDto); mockRemoteCall(dto); ServerInfo serverInfo = repository.getServerInfo().toFuture().get(); Assertions.assertEquals(dto.getServerInfo().getRestVersion(), serverInfo.getRestVersion()); Assertions.assertEquals(dto.getServerInfo().getSdkVersion(), serverInfo.getSdkVersion()); }