src/test/java/org/thegalactic/dgraph/EdgeTest.java
@Test
    public void testGetContent() {
        Node<String> source = new Node<String>("Hello");
        Node<String> target = new Node<String>("World");
        String content = "happy new year";
        Edge<String, String> edge = new Edge<String, String>(source, target, content);
        assertEquals(content, edge.getContent());
    }
/**
     * Test of getContent method, of class Edge.
     */
Test of getContent method, of class Edge.
Test of getContent method of class Edge .
@Test
    public void testGetContent() {
        Node<String> source = new Node<String>("Hello");
        Node<String> target = new Node<String>("World");
        String content = "happy new year";
        Edge<String, String> edge = new Edge<String, String>(source, target, content);
        assertEquals(content, edge.getContent());
    }
@ Test public void testGetContent ( ) { Node < String > source = new Node < String > ( "Hello" ) ; Node < String > target = new Node < String > ( "World" ) ; String content = "happy new year" ; Edge < String , String > edge = new Edge < String , String > ( source , target , content ) ; assertEquals ( content , edge . getContent ( ) ) ; }
Test of getContent method, of class Edge.
Test of getContent method of class Edge .