src/test/java/org/thegalactic/dgraph/NodeTest.java
@Test
    public void testHasContent() {
        String content = "Hello World";
        Node<String> node = new Node<String>();
        assertFalse(node.hasContent());
        node.setContent(content);
        assertTrue(node.hasContent());
    }
/**
     * Test the setContent method of class Node.
     */
Test the setContent method of class Node.
Test the setContent method of class Node .
@Test
    public void testHasContent() {
        String content = "Hello World";
        Node<String> node = new Node<String>();
        assertFalse(node.hasContent());
        node.setContent(content);
        assertTrue(node.hasContent());
    }
@ Test public void testHasContent ( ) { String content = "Hello World" ; Node < String > node = new Node < String > ( ) ; assertFalse ( node . hasContent ( ) ) ; node . setContent ( content ) ; assertTrue ( node . hasContent ( ) ) ; }
Test the setContent method of class Node.
Test the setContent method of class Node .