Browse souce code repository at: https://github.com/jjYBdx4IL/java-evaluation/blob/master/src/test/java/org/apache/commons/lang/StringEscapeUtilsTest.java
package org.apache.commons.lang;

import static org.junit.Assert.*;
import org.junit.Test;
/*
 * #%L
 * Evaluation
 * %%
 * Copyright (C) 2014 Github jjYBdx4IL Projects
 * %%
 * #L%
 */
/**
 *
 * @author Github jjYBdx4IL Projects
 */
public class StringEscapeUtilsTest {

    @Test
    public void testHtml() {
        assertEquals("\n", StringEscapeUtils.escapeHtml("\n"));
        assertEquals("&lt;&gt;", StringEscapeUtils.escapeHtml("<>"));
        //System.out.println(StringEscapeUtils.escapeHtml(""));
    }
}
-------------------------------------------------------------------------------
Test set: org.apache.commons.lang.StringEscapeUtilsTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.apache.commons.lang.StringEscapeUtilsTest
testHtml  Time elapsed: 0 s