src/test/java/org/thegalactic/dgraph/EdgeTest.java
@Test
    public void testHasContent() {
        Node<String> source = new Node<String>();
        Node<String> target = new Node<String>();
        Edge<String, String> edge = new Edge<String, String>(source, target);
        assertFalse(edge.hasContent());
        edge.setContent("happy new year");
        assertTrue(edge.hasContent());
    }
/**
     * Test the hasContent method, of class Edge.
     */
Test the hasContent method, of class Edge.
Test the hasContent method of class Edge .
@Test
    public void testHasContent() {
        Node<String> source = new Node<String>();
        Node<String> target = new Node<String>();
        Edge<String, String> edge = new Edge<String, String>(source, target);
        assertFalse(edge.hasContent());
        edge.setContent("happy new year");
        assertTrue(edge.hasContent());
    }
@ Test public void testHasContent ( ) { Node < String > source = new Node < String > ( ) ; Node < String > target = new Node < String > ( ) ; Edge < String , String > edge = new Edge < String , String > ( source , target ) ; assertFalse ( edge . hasContent ( ) ) ; edge . setContent ( "happy new year" ) ; assertTrue ( edge . hasContent ( ) ) ; }
Test the hasContent method, of class Edge.
Test the hasContent method of class Edge .