### Question:
NodeRepositoryOkHttpImpl extends AbstractRepositoryOkHttpImpl implements NodeRepository { public Observable<NodeTime> getNodeTime() { Callable<NodeTimeDTO> callback = () -> getClient().getNodeTime(); return exceptionHandling(call(callback).map(this::toNodeTime)); } 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 shouldGetNodeTime() throws Exception { NodeTimeDTO dto = new NodeTimeDTO(); CommunicationTimestampsDTO comm = new CommunicationTimestampsDTO(); comm.setReceiveTimestamp(BigInteger.valueOf(1L)); comm.setSendTimestamp(BigInteger.valueOf(2L)); dto.setCommunicationTimestamps(comm); mockRemoteCall(dto); NodeTime info = repository.getNodeTime().toFuture().get(); Assertions.assertNotNull(info); Assertions.assertEquals(BigInteger.valueOf(1L), info.getReceiveTimestamp()); Assertions.assertEquals(BigInteger.valueOf(2L), info.getSendTimestamp()); }