core/src/test/java/org/owasp/dependencycheck/reporting/EscapeToolTest.java
/**
     * Test of html method, of class EscapeTool.
     */
Test of html method, of class EscapeTool.
Test of html method of class EscapeTool .
@Test
    public void testHtml() {
        EscapeTool instance = new EscapeTool();
        String text = null;
        String expResult = null;
        String result = instance.html(text);
        assertEquals(expResult, result);
        text = "";
        expResult = "";
        result = instance.html(text);
        assertEquals(expResult, result);
        text = "<div>";
        expResult = "&lt;div&gt;";
        result = instance.html(text);
        assertEquals(expResult, result);
    }
@ Test public void testHtml ( ) { EscapeTool instance = new EscapeTool ( ) ; String text = null ; String expResult = null ; String result = instance . html ( text ) ; assertEquals ( expResult , result ) ; text = "" ; expResult = "" ; result = instance . html ( text ) ; assertEquals ( expResult , result ) ; text = "<div>" ; expResult = "&lt;div&gt;" ; result = instance . html ( text ) ; assertEquals ( expResult , result ) ; }
Test of html method, of class EscapeTool.
Test of html method of class EscapeTool .