### Question:
PeerApiImpl implements PeerApi { @Override public List<String> getAllActivePeer() { return peerDialer.getActivePeerList(); } @Autowired  PeerApiImpl(PeerDialer peerDialer); @Override List<String> getAllActivePeer();  }### Answer:
@Test public void getAllActivePeerTest() { try { assertThat(PEER_API.getAllActivePeer()).isNotNull(); } catch (Exception exception) { log.debug("getAllActivePeerTest :: exception : " + exception); } }