@Test public void testEmptyTopology() { CandidateOspfTopology topo = EMPTY; assertThat(topo.getGraph().nodes(), empty()); }
@VisibleForTesting ValueGraph<OspfNeighborConfigId, OspfSessionStatus> getGraph() { return _graph; }
CandidateOspfTopology { @VisibleForTesting ValueGraph<OspfNeighborConfigId, OspfSessionStatus> getGraph() { return _graph; } }
CandidateOspfTopology { @VisibleForTesting ValueGraph<OspfNeighborConfigId, OspfSessionStatus> getGraph() { return _graph; } CandidateOspfTopology(ValueGraph<OspfNeighborConfigId, OspfSessionStatus> graph); }
CandidateOspfTopology { @VisibleForTesting ValueGraph<OspfNeighborConfigId, OspfSessionStatus> getGraph() { return _graph; } CandidateOspfTopology(ValueGraph<OspfNeighborConfigId, OspfSessionStatus> graph); @Nonnull Optional<OspfSessionStatus> getSessionStatus(
      OspfNeighborConfigId n, OspfNeighborConfigId n1); @Nonnull Set<OspfNeighborConfigId> neighbors(OspfNeighborConfigId node); }
CandidateOspfTopology { @VisibleForTesting ValueGraph<OspfNeighborConfigId, OspfSessionStatus> getGraph() { return _graph; } CandidateOspfTopology(ValueGraph<OspfNeighborConfigId, OspfSessionStatus> graph); @Nonnull Optional<OspfSessionStatus> getSessionStatus(
      OspfNeighborConfigId n, OspfNeighborConfigId n1); @Nonnull Set<OspfNeighborConfigId> neighbors(OspfNeighborConfigId node); static final CandidateOspfTopology EMPTY; }