### Question:
Coreness implements VertexScoringAlgorithm<V, Integer> { @Override public Map<V, Integer> getScores() { lazyRun(); return Collections.unmodifiableMap(scores); } Coreness(Graph<V, E> g); @Override Map<V, Integer> getScores(); @Override Integer getVertexScore(V v); int getDegeneracy();  }### Answer:
@Test public void testEmptyGraph() { SimpleGraph<String, DefaultEdge> g = new SimpleGraph<>(DefaultEdge.class); VertexScoringAlgorithm<String, Integer> pr = new Coreness<>(g); assertTrue(pr.getScores().isEmpty()); }