LocalMeasure extends Measure<V> { @Override public String toString() { return super.toString() + ", in degree: " + inDegree + ", out degree: " + outDegree + ", in and out degree: " + inOutDegree + ", clusteringCoefficient: " + clusteringCoefficient; } LocalMeasure(V vertex, long inDegree, long outDegree);  LocalMeasure(V vertex, long inDegree, long outDegree, 
            double clusteringCoefficient); long getInDegree(); long getOutDegree(); long getInOutDegree(); double getClusteringCoefficient(); @Override String toString();  }
@Test public void testToString() { String expResult = "V, in degree: 0, out degree: 1, in and out degree: 1, clusteringCoefficient: 2.0"; String result = instance.toString(); assertEquals(expResult, result); }