### Question:
NodeHealthIndicator implements HealthIndicator, NodeStatus { @Override public Health health() { updateDetail(health.get().getStatus()); return health.get(); } @Autowired  NodeHealthIndicator(DefaultConfig defaultConfig, BranchGroup branchGroup,
                               PeerDialer peerDialer); @Override Health health(); @Override void up(); @Override void sync(); @Override void update(); @Override boolean isUpdateStatus(); @Override boolean isUpStatus(); @Override boolean isSyncStatus();  }### Answer:
@Test public void health() { Health health = nodeHealthIndicator.health(); assertEquals(Status.DOWN, health.getStatus()); assertEquals("yggdrash", health.getDetails().get("name")); assertNotNull(health.getDetails().get("branches")); assertEquals(0, (int) health.getDetails().get("activePeers")); }