### Question:
NodeRepositoryOkHttpImpl extends AbstractRepositoryOkHttpImpl implements NodeRepository { @Override public Observable<NodeHealth> getNodeHealth() { Callable<NodeHealthInfoDTO> callback = getClient()::getNodeHealth; return exceptionHandling( call(callback) .map( dto -> new NodeHealth( NodeStatus.rawValueOf(dto.getStatus().getApiNode().getValue()), NodeStatus.rawValueOf(dto.getStatus().getDb().getValue())))); } 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 getNodeHealth() throws Exception { NodeHealthInfoDTO dto = new NodeHealthInfoDTO() .status(new NodeHealthDTO().apiNode(NodeStatusEnum.DOWN).db(NodeStatusEnum.UP)); mockRemoteCall(dto); NodeHealth nodeHealth = repository.getNodeHealth().toFuture().get(); Assertions.assertEquals(NodeStatus.DOWN, nodeHealth.getApiNode()); Assertions.assertEquals(NodeStatus.UP, nodeHealth.getDb()); }